Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
lxmcf204106y@devTea Well that makes me feel a bit better, im using googles MDL and adding the ability to have a dark and light theme so just brute forcing some of the theming by using it
-
@lxmcf If I'm using something like bootstrap for class, that shit is getting used all the time.
Hell, I'm pretty sure I did use it all the time on my big project for class. Had to change the colors of things that were predefined and looked like shit.
(I also made light and dark theme lol, but it never needed important) -
@CodeAlex Of course. Mostly to piss of the front end department because they never have their designs ready on time.
-
Fradow9166yUsing CSS !important is like using goto instructions.
Say no to !important.
Unless you really don't have a choice because your CSS is FUBAR. -
Condor324966y!important is reserved for the userstyles here, where you actually want to override stuff no matter what.. if it's used in the CSS provided by a webpage however, I'd jam an inch of steel pole up that front-end dev's ass for every occurrence of !important in their crappy website!
Related Rants
Anyone else feel really dirty when you use !important in css or just me?
Nope, just me...
random
important
css