The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Home › Forums › CSS › how to prevent inner ul take effect
im working on a project right now and just dumped to a really simple problem but unfortunately i cant solve it . so maybe you can .
i have made this file in codpen (http://codepen.io/anon/pen/XJvEEo) please take a look at it .
what should i do to stop inner ul inherit any properties as the parent ul do .
It’s not clear what you are exactlyasking for but use of the “direct child” selector > is where you should probably start.
Also all isn’t really ready for prime-time so I wouldn’t use it just yet. (I had to look that one up TBH).
I’d be looking for something like this:
ty for the ans