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
-
nerdsville38yAh, it is hilarious when I see this, I am by no means a front end developer definitely more on the backend, however even I know that it goes less specific -> more specific (hence, cascading), if you know this you should literally never need !important as to my experience (unless you are setting CSS overwrites in the browser as a user, not a developer, for example themes for the browser)
-
yo-yo13638yI don't think there is any logical reason why they could not have interpreted whatever! As meaning important, other than the prepended ! being easier to spot at first glance.
-
I completely do the same thing every time. It actually messed me up a bit when I was starting to do some Front End work.
-
@nerdsville except you have some Shit website (cms) with shitty css and you have to add content and don't have access to the css... Worked as a Webmaster and had this.
AM I THE ONLY PERSON WHO READS THE CSS !important RULE AS ACTUALLY SAYING THAT SOMETHING IS _NOT_ IMPORTANT EVEN WHEN IT MEANS THAT IT _IS_?!!
Just kill me.
undefined