":not Selector(The :not(selector) selector matches every element that is NOT the specified element/selector.)"
Bootstrap 3.3.0 Snippet by naimansari

<div class="container"> <div class="row"> <h1>This is a heading</h1> <p>This is a paragraph.</p> <p>This is another paragraph.</p> <div>This is some text in a div element.</div> <a href="http://www.w3schools.com" target="_blank">Link to W3Schools!</a> </div> </div>
p { color: #000000; } :not(p) { color: #ff0000; }

Similar snippets: See More


Comments:

comments powered by Disqus