Found 45 bookmarks
Newest
Pseudo-boolean CSS custom properties
Pseudo-boolean CSS custom properties
Exploring different techniques for toggling complex layout changes to a shadow DOM, using one or more pseudo-boolean CSS custom properties.
·keithclark.co.uk·
Pseudo-boolean CSS custom properties
Layered Toggles: Optional CSS Mixins
Layered Toggles: Optional CSS Mixins
In this article, I am sharing the next evolution of space & cyclic toggles, which allows us to create and apply optional mixins in CSS with the help of custom cascade layers, available today in every browser that supports them.
·kizu.dev·
Layered Toggles: Optional CSS Mixins
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