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
-
@norman70688
bool important = true;
Console.WriteLine(!important);
//Output: False -
Eariel19068y@norman70688, because in most programming languages, specially in the ones related to C, "!" is the logical negation, and it's used preceding the variables.
-
STRINIX1578y@corjaantje maybe because css is not a programming language but a markup language. Just saying 🙄
-
@norman70688 he only said that !important, in any language, is read as not important, but why is it different in css, because it's read as important :')
Related Rants
How come the css syntax/specifier
!important
Means the opposite of how it reads. (not important)
Can it just be a '!' since its already shouting the meaning.
.short {
height: 9px!
}
undefined
eyesore
don't use it anyways
css
common sense separator