This means you get a perfectly-wrapping focus ring without needing to manage z-index or having it partially covered due to overlap.
Demo: codepen.io/una/pen/ByzY...
This means you get a perfectly-wrapping focus ring without needing to manage z-index or having it partially covered due to overlap.
Demo: codepen.io/una/pen/ByzY...
@ container style(--progress > 80%) {
background: green;
}
bugzilla.mozilla.org/show_bug.cgi...
@ container style(--progress > 80%) {
background: green;
}
bugzilla.mozilla.org/show_bug.cgi...
nerdy.dev/nice-select
nerdy.dev/nice-select
The code for the shape() inside of border-shape looks crazy, so I built a little tool to simplify it: codepen.io/una/pen/bNeL...
Again, still a very WIP API. There are bugs 🐞. Hit me up if you run into them or bug @nomster.bsky.social
The code for the shape() inside of border-shape looks crazy, so I built a little tool to simplify it: codepen.io/una/pen/bNeL...
Again, still a very WIP API. There are bugs 🐞. Hit me up if you run into them or bug @nomster.bsky.social
⚠️ WIP early-stage API, timeline TBD, more info coming soon
But it brings a lil tear to my eye to see this working, border & all 🥲
This demo uses anchored container queries + border-shape + a little animation
⚠️ WIP early-stage API, timeline TBD, more info coming soon
But it brings a lil tear to my eye to see this working, border & all 🥲
This demo uses anchored container queries + border-shape + a little animation
I can't get enough of this. So cool.
I can't get enough of this. So cool.