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
-
yehaaw26045y@amatrelan It means, essentially, what it says - 'this is important, ignore subsequent rules, and any usual specificity issues, apply this rule!'
-
C0D4681455y@amatrelan it's usually only needed if you want to override a framework/lib rule (like bootstrap) where explicitly of an element has already been taken by the framework.
In general, you would avoid using it unless you have no other choice.
The "!" Isn't not, but one way to remember what it does is - everything else is not important. -
Root825575y/* Just fyi */
#devRant post {
tags: comma-delimited !important;
tags-whitespace: allow !important;
} -
Its IMPORTANT to note that overusage of important makes the word important seem not do important anymore
-
@theuser it is. The button head is usually contained better in pushbuttons and mostly red (i.e. dictator buttons or doofenshmirtz's self-destruct buttons)
-
✅ Partial pixel measurements
✅ RGB mixed with word color values
✅ Important tags everywhere
✅ Redundant px for 0 values
✅ No spacing before braces
Congrats, it's awful -
yehaaw26045y@CoffeeSnake Second and fifth point you've made are bullshit. Other then that, you're on spot. Change my mind.
-
@yehaaw you can do rgba as #RRGGBBAA and that optimizes overall size
@highlight
#00000000
rgba(0,0,0,0)
Start your first-week doing front-end work on big codebase important.
joke/meme
#!important #fe #front-end #codebase