Use context implemented using child selectors (modified based on your comment below). This allows you to understand which attributes are part of the general list and which attributes belong to the search list.
.list li { default attributes: default values } #search-list li { attributes specific to search listings: some values; } with markup <ul id="search-list" class="list"> <li>...
Recently, I worked with some top designers. They talk negatively about markup that has “div-itis” or “class-itis” (they skipped the list class above and the ul style). To counter this, they use identifiers and custom tags such as li, h5, etc. Inside. Because PITA clears the default values, they only define a few default values and use context selectors for the rest. If necessary, they use several class names. They also tend to use a compass or less, because these environments allow you to use contextual selectors and mixes.
source share