The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Home › Forums › CSS › [Solved] Another tricky :nth-child question › Re: [Solved] Another tricky :nth-child question
Well, if the ul holding everything had an id or class. you could just go:
ul#id > li
That’ll target only the the next level elements. You don’t even need to use nth-child.
Frontend Masters is the best place to get it. They have courses on all the most important front-end technologies, from React to CSS, from Vue to D3, and beyond with Node.js and Full Stack.