
Una 🇺🇦
@Una • 88,100 subscribers
Building the web you build on @GoogleChrome ✨🎨 Web Experience DevRel Lead 🦄 @csswg + @openuicg. #CSSPodcast host 🎬 https://t.co/J9Y8U6Bz4f
Shorts
Videos

👀 An early look at transitioning to and from `display: none` in CSS 👀
Una 🇺🇦269,194 görüntüleme • 3 yıl önce

While contrast-color() only returns black or white, there are workarounds! If you register a new custom property, you can use style queries for full color palette customization (but make sure to test the contrast yourself!) Another technique is using the contrast-color() value inside of color-mix() to provide a tint variant. This demo shows method 1 where you can get warmer light colors and blue-tinted darks instead of pure black and white. Cons: Firefox doesn't support style queries yet so browser support is limited for now (though it is an Interop 2026 feature!).
Una 🇺🇦12,244 görüntüleme • 2 ay önce

And here's that Codepen refactored as promised using sibling-index()
Una 🇺🇦11,064 görüntüleme • 1 yıl önce
Daha fazla içerik yok.