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
-
Do enough work where you're managed to use 3rd party frameworks and you'll find that !important isn't evil, it's sometimes your only hope.
-
Guilty as charged 😰. In my defense, I'm a back end/cyber sec guy and when I sometimes neeeeed to do CSS when hardly knowing any....
-
@RevThwack incorrect. Turns out you can just put your stylesheets in the right order...
-
@ALivingMemory not always an option. One toolset I've been forced to use would combine all referenced stylesheets into one, another made generous use of !important in their themes, as well as generating in-line styling.
For every way you should be able to fix an issue, some asshat has managed to break the fix. -
@RevThwack fair enough, should still be able to order your bundles? A framework that generates inline styles sounds like a power hungry bearpigman
-
@ALivingMemory most will let you order, but a few won't, or even worse, will outright ignore any style that overrides one of theirs
People who use "!important" in CSS. #dontbealobster
undefined