This is what I have found and why I use classes.
The whole...

.main_menu ul ul:first-child li ul li ul li { content: 'HELL NO' }

..Doesn't appeal like...

.main_menu .second_tier .third_tier li { content: 'Works for me' }

:)

Best,

Karl DeSaulniers
Design Drumm
http://designdrumm.com




> On Oct 16, 2018, at 3:45 AM, Tim Dawson <t...@ramasaig.com> wrote:
> 
> On balance I think I prefer classes at each level. It makes the code easier 
> to follow, which as we all know is important in six months time. It's easy to 
> lose one's place in the chain of ul and li selectors.

______________________________________________________________________
css-discuss [css-d@css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to