Found 28 bookmarks
Custom sorting
Self-Modifying Variables: the inherit() Workaround
Self-Modifying Variables: the inherit() Workaround
Style queries will unlock many doors. An ability to alternate a value of any variable that I presented in my previous article might seem to be trivial by itself, but what if there is a hidden depth in how we can utilize it? One interesting case is the ability to emulate `inherit()` — a way to access the previous state of a custom property.
·kizu.dev·
Self-Modifying Variables: the inherit() Workaround
Getting started with CSS Custom Properties - Tutorial - Piccalilli
Getting started with CSS Custom Properties - Tutorial - Piccalilli
Custom properties in CSS are exceptionally useful, not just for tokenising your CSS, but also for abstracting complexity and interactivity into smaller, easier to manage pieces. This short guide will get you up to speed with how they work and how to use them.
·piccalil.li·
Getting started with CSS Custom Properties - Tutorial - Piccalilli