Found 41 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
Alternating Style Queries
Alternating Style Queries
With the container style queries on the horizon, it is a good time to do more experiments with them. In one of my recent experiments, I found out that style queries will allow us to do what the currently specified (but not implemented by anyone) function `toggle()` was supposed to.
·kizu.dev·
Alternating Style Queries
Going beyond pixels and (r)ems in CSS - Container query length units - iO tech_hub
Going beyond pixels and (r)ems in CSS - Container query length units - iO tech_hub
In the third part of this series, we’ll look at length units based on the container. Yes, you heard that right, we can finally get some measurements based on a containing element and that just spells awesome in my book. Currently available in all evergreen browsers, these units open up a lot of opportunities to create some smart systems and once again, I will write this up packed with a bunch of demos and cool use cases.
·techhub.iodigital.com·
Going beyond pixels and (r)ems in CSS - Container query length units - iO tech_hub
New CSS Features In 2022 — Smashing Magazine
New CSS Features In 2022 — Smashing Magazine
2022 is shaping up to be a pretty great year for CSS, with a plethora of new features on the horizon. Some are already starting to land in browsers, others are likely to gain widespread browser support in 2022, while for one or two the process may be a little longer. In this article we’ll take a look at a few of them.
·smashingmagazine.com·
New CSS Features In 2022 — Smashing Magazine