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...
nerdy.dev/nice-select
nerdy.dev/nice-select
⚠️ 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
The solution is simpler than you think.
With basic CSS scroll APIs, you can get built-in interruptible swipe gestures 🥳
The solution is simpler than you think.
With basic CSS scroll APIs, you can get built-in interruptible swipe gestures 🥳
(working on a blog post)
With no JS, you can detect scroll direction! Combined w/scroll-driven/triggered animations = more natural control of element-viewport interactions
(working on a blog post)
With no JS, you can detect scroll direction! Combined w/scroll-driven/triggered animations = more natural control of element-viewport interactions
PRETTY COOL IMO!
Link (needs Canary + experimental-web-platform-features flag): codepen.io/una/pen/ZYWP...
PRETTY COOL IMO!
Link (needs Canary + experimental-web-platform-features flag): codepen.io/una/pen/ZYWP...
Translation on anchor elements is now respected by positioned elements in Chrome 144+
I know this was quite frustrating if you ran into it!
chromestatus.com/feature/5201...
Translation on anchor elements is now respected by positioned elements in Chrome 144+
I know this was quite frustrating if you ran into it!
chromestatus.com/feature/5201...
🟢 round
scoop
📐 bevel
⛏️ notch
⬛️ square
🐿️ squircle
🦹🏻♀️ superellipse
*Pass it on*
codepen.io/una/pen/PwNo...
🟢 round
scoop
📐 bevel
⛏️ notch
⬛️ square
🐿️ squircle
🦹🏻♀️ superellipse
*Pass it on*
codepen.io/una/pen/PwNo...
See caret-shape and caret-animation in action
(there's still some discussion & this is isn't shipped yet, but you can check it out w/the experimental-web-platform-features flag in Chrome 140+)
codepen.io/una/pen/MYKL...
See caret-shape and caret-animation in action
(there's still some discussion & this is isn't shipped yet, but you can check it out w/the experimental-web-platform-features flag in Chrome 140+)
codepen.io/una/pen/MYKL...
:target-current {
background: black;
}
:target-before {
background: lavender;
}
:target-after {
outline: 1px solid gray;
}
Lands in Chrome 142 (stable in 2 weeks)
:target-current {
background: black;
}
:target-before {
background: lavender;
}
:target-after {
outline: 1px solid gray;
}
Lands in Chrome 142 (stable in 2 weeks)
From arranged dinners (“with 5 new friends”), to the cutest swag, Code in the Dark, laser shows, crafts, games, sauna(!) and all the installations!
You can see the love that was put in 💜
From arranged dinners (“with 5 new friends”), to the cutest swag, Code in the Dark, laser shows, crafts, games, sauna(!) and all the installations!
You can see the love that was put in 💜
Immediately optimized my radial popover menu with it 🙂
Demo: codepen.io/una/pen/YPwW...
Course: t.co/14NmSUHFs3
My functions post: una.im/5-css-functi...
Immediately optimized my radial popover menu with it 🙂
Demo: codepen.io/una/pen/YPwW...
Course: t.co/14NmSUHFs3
My functions post: una.im/5-css-functi...
- massive “download our app” callout
- header taking up a good amount of real estate
- ANOTHER DOWNLOAD OUR APP BANNER
- fixed ad on the bottom
- huge ads in between copy
😠
- massive “download our app” callout
- header taking up a good amount of real estate
- ANOTHER DOWNLOAD OUR APP BANNER
- fixed ad on the bottom
- huge ads in between copy
😠
Is this something you've had to do before?
Would you adopt the native browser API if it shipped cross-browser?
Is this something you've had to do before?
Would you adopt the native browser API if it shipped cross-browser?
.parent:has(:interest-source) button {
interest-show-delay: 0s;
}
You have your default delay. Then, you update the interest delay when an element inside of the parent has interest (i.e. hover).
codepen.io/una/pen/LEpw...
.parent:has(:interest-source) button {
interest-show-delay: 0s;
}
You have your default delay. Then, you update the interest delay when an element inside of the parent has interest (i.e. hover).
codepen.io/una/pen/LEpw...