Home › Forums › CSS › Limits of :not() selector? › Re: Limits of :not() selector?
June 5, 2013 at 7:27 am
#137716
CrocoDillon
Participant
You can only have simple selectors as argument: http://www.w3.org/TR/css3-selectors/#negation
Combinations are not allowed. Have you tried:?
nav li:not(:hover) > ul {
max-height: 0;
}