DEV Community

Ali Spittel
Ali Spittel

Posted on • Edited on

Too many people...

(also learn more about the cascade and specificity)

Top comments (10)

Collapse
 
jckuhl profile image
Jonathan Kuhl • Edited

TBF, I use !important to override styles coming from a 3rd party library. But that's about the only case. Otherwise I agree with what Scott Tolinsky said on syntax.fm, don't use !important, ever.

Collapse
 
galdin profile image
Galdin Raphael

Same. Sometimes it seems to be required, like when styling a non-iframe plugin that could be embeded anywhere.

Collapse
 
washingtonsteven profile image
Steven Washington

Introducing !importanter! For when your !important gets !important-ed and you need to !important it right back!

Collapse
 
emmabostian profile image
Emma Bostian ✨

HEY THATS ME

Collapse
 
aspittel profile image
Ali Spittel

it you!!!!

Collapse
 
lokidev profile image
LokiDev
body div#wrapper.wrapp-class div article.notice span.my-message::after {
    content: 'too damn right';
}

Well - this should work without !important :D.

Collapse
 
sanidz profile image
sanidz

If you use inline styles you dont need to override anything :`(

Collapse
 
rexdesign profile image
Jesper Rex

Shutout to my tailwind brothers :)

Collapse
 
niorad profile image
Antonio Radovcic

Both
(Meme with exploding brain)

Collapse
 
tamouse profile image
Tamara Temple

not sure whether to laugh or cry, so i do both ❤️