Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Designing without divs, spans, IDs nor classes Re: Designing without divs, spans, IDs nor classes

#114568
Kitty Giraudel
Participant

To avoid using classes and IDs, you could rely on :nth-child and :nth-of-type pseudo-selectors. Good luck to style a 300 to 1000 nodes DOM with those things. :D