DEV Community

loading...

Discussion on: "currentColor", the first CSS variable

Collapse
kenbellows profile image
Ken Bellows Author

Ha, I know what you mean, it does seem a little inconsistent. But it actually follows the standard pattern for color names, like "MediumVioletRed", "DarkOliveGreen", or "RebeccaPurple". CSS treats these names case-insensitively, so I actually write all lowercase currentcolor most of the time.