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
hi there 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.
>
http://code.tutsplus.com/tutorials/the-30-css-selectors-you-must-memorize–net-16048
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).
all
I’d be looking for something like this:
http://codepen.io/Paulie-D/pen/pvMLYO
ty for the ans