I want to select a child that does not contain a class starting with z-depth- :
<div class="well"> <div class="well"></div> </div>
So, if the internal .well also contains a class like z-depth-1 , it will not be selected.
This does not work, because the internal .well is always selected:
.well .well:not([class^="z-depth-"])
Is it possible?
css css-selectors
rzb
source share