Found 11 bookmarks
Newest
Conditions for CSS Variables
Conditions for CSS Variables
CSS variables are very powerful, and they allow to do a lot of interesting things. But there are no native conditionals that we could use in CSS with them. In this article I’ll talk about one of the ways we can fake such conditions with calculations.
·kizu.dev·
Conditions for CSS Variables
Creating A High-Contrast Design System With CSS Custom Properties — Smashing Magazine
Creating A High-Contrast Design System With CSS Custom Properties — Smashing Magazine
Managing our colors can truly help people to access our content. In this article, Brecht de Ruyte takes a deep dive into how we can create a high-contrast system while maintaining a balance between designing something accessible and respecting the look and feel of a brand.
·smashingmagazine.com·
Creating A High-Contrast Design System With CSS Custom Properties — Smashing Magazine
CSS Variables 101
CSS Variables 101
CSS variables (AKA custom properties) have been supported in web browsers for almost four years. I like to use them depending on the project and the situatio...
·ishadeed.com·
CSS Variables 101