Hi all,
Which is better practice?
.listing { some attributes:some values;}
applied to multiple locations (e.g. search results, category listing)
or
.search-list,
.category-list,
.other-list { some attributes:some values;}
It seems to me that the second option provides more flexibility for future changes to style without changing (x)html and also easier maintenance due to knowing exactly where the rules are applied, but needs more bandwidth to download and browser processing power to parse.
Interested in your thoughts.
Thanks, Jonathan