
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 Aufrufe • vor 3 Jahren

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 Aufrufe • vor 2 Monaten

And here's that Codepen refactored as promised using sibling-index()
Una 🇺🇦11,064 Aufrufe • vor 1 Jahr
Keine weiteren Inhalte verfügbar