- This topic has 0 replies, 1 voice, and was last updated 8 years, 9 months ago by .
Viewing 1 post (of 1 total)
Viewing 1 post (of 1 total)
- You must be logged in to reply to this topic.
Ignite Your Thoughts
Let me start with a simple example on how to use and when to use this CSS3 :not selector
div:not(.notme){
background-color:red;
}
The above class applies to DIV which don’t have ‘notme’ as a class – means the DIVs which has got ‘notme’ as a class is ignored. I hope this is pretty clear to you all now.
The CSS3 :Not() Selector – Here is a wonderful and detailed article with various examples on usage of :not() CSS3 selector.
If you make a purchase from WittySparks links, we will receive a small commission. See our Affiliate Disclosure.