html - Disable div class for to style the -
html - Disable div class for <a> to style the <a> -
i have code styles <a href="#">:
<div class="styled"> <a href="#">link</a> <div class="notstyled"> <a href="#">another link</a> </div> </div> the first link have 1 style , sec link have same style, want default clean link.
here, seek jsfiddle example,
.styled > { color:black; } the > used in means selects direct children of .styled , not children.
what doing .styled a, selects children (even nested within others), and don't want that...
html css href
Comments
Post a Comment