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
-
Personally, the OCD developer in me likes when all the characters are the same height.
-
Opposite too. When I learned HTML color tags and CSS in the late 90s all the guides told me to uppercase it. Even though it works both ways or mixed case I still uppercase them. In recent years I have relaxed that as long as all the style sheets in my project are the same case.
-
And yeah, that's right. Back in the day colors were attributes to a tag. Crazy I know.
-
michael3269ypersonally never used lower case for fonts.. but everything works, do what you prefer.
-
lewdogg9959yThat's why I stick my colors in an uneditable less file. No touchy my colors. Me no like when you change my colors.
-
Using lowercase letters makes the math more ambiguous; lower case letters are typically reserved for variables. Capital letters in the HEX make it less ambiguous.
Related Rants
Does anyone else hate capitalised hexadecimal colour codes?
I'm not sure why, but I just think #ccfd73 (just an example) looks better than #CCFD73
undefined
colours
hex
hexadecimal
css