Poking at the CSS if() Function a Little More: Conditional Color Theming
The CSS if()
function enables us to use values conditionally, but what exactly does if()
do? Let's look at a possible real-world use case.
Poking at the CSS if() Function a Little More: Conditional Color Theming originally published on CSS-Tricks, which is part of the DigitalOcean family. You should get the newsletter.