When building prototypes or examples, I often use named CSS colors.
After playing around and working with CSS for some years, today I learnt:
DarkGray is lighter than Gray 🤔
It got me so confused, I had to check it three times.
The easy solution:
If you want a "dark gray", choose DimGray
.☝️
Top comments (4)
Codepen? please.
codepen.io/garethTF/pen/gObeVYY
Seems wierd but it's true... CSS is confusing at times.
Oh someone was faster than me :D
Thanks, for the CodePen!
never knew about it until I see this post Thanks
Some comments may only be visible to logged-in visitors. Sign in to view all comments.