SitePoint
Reference
CSS
Selector Reference
Pseudo-classes
CSS3 Pseudo-classes
:not(S)
CSS Live Demo: :not(S)
(this page)
See also:
All Live Demos
CSS Live Demo: :not(S)
Type your
CSS
here:
(any properties allowed except expression, behavior and @import)
p *:not(q) { background:#fc9; } p * { background:#ccc; }
Type your
HTML
here:
(any tags allowed except script, iframe, frame, object, img and embed)
<p>I met a dude called <cite>Deep Thought</cite> the other day, who told me something <strong>very interesting</strong>. See, <em>apparently</em>, the answer to <q>life, the universe, and everything</q> is <samp>42</samp>.</p>
Show me!
Your results appear here: