Direct link to the article CSS Variables + calc() + rgb() = Enforcing High Contrast Colors

CSS Variables + calc() + rgb() = Enforcing High Contrast Colors

As you may know, the recent updates and additions to CSS are extremely powerful. From Flexbox to Grid, and — what we’re concerned about here — Custom Properties (aka CSS variables), all of which make robust and dynamic …

Avatar of Josh Bader
Josh Bader on (Updated on )