Found 16 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