Reputation:
I've made this screenshot. For some reason the :not
selector isn't working?
I just don't really get why it isn't working, even though the ul
element does have the webmedia-gallery
class.
Any ideas what I'm doing wrong?
https://jsfiddle.net/gof7oz7e/
Upvotes: 0
Views: 188
Reputation: 123367
try to chain your not
conditions
ul:not(.languages):not(.webmedia-gallery) li:before {
...
}
in fact, if you split your not
conditions into multiple selectors, as you did, at least one of them will match. By chaining the conditions you are looking for a list whose classes are not nor .languages
neither .webmedia-gallery
Upvotes: 2