
Building the web you build on @GoogleChrome β¨π¨ Web Experience DevRel Lead π¦ @csswg + @openuicg. #CSSPodcast host π¬ https://www.teapawt.org/t.co/J9Y8U6Bz4f
Brooklyn, NY
Joined November 2008
- Tweets31.2K
- Following1.4K
- Followers87.6K
- Likes42.3K
Cute! I love stuff like this
jelly-ui.com/
What a nice library. One script tag. Web components that work everywhere. Shimmy shimmy shake.
Had one of those intensely vivid pregnancy dreams but it was about responsive UI patterns for supportive context⦠(weird, I know)
Might write a blog post.
Might have a baby.
Which will come first? π«£
1
51
4,295
Big news!
For the past 9 months Iβve been running a fully-autonomous local agent for a pretty complex body building project. And Iβm almost ready to deploy (any day now π)!
Wish me luck for the launch π
^ this is why I couldnβt make it to @RenderATL this year! Looks like yβall are having a lot of fun π
10
1,753
Oooh this is a nice detail
Design Engineering Tip
Make hover interactions respond to where the cursor actually comes from.
Instead of revealing content with the same animation every time, detect the cursor entry direction and move the image + content accordingly. It makes a simple card feel much more spatial and responsive.
const direction = getDirection(event, ref.current);
const variants = {
top: { y: 20 },
bottom: { y: -20 },
left: { x: 20 },
right: { x: -20 },
};
1
49
6,890
Neat! Leveraging AI skills is a nice way to make it less tedious to refactor your UI systems to be more modern and flexible. Just be sure to test the results π
Did I mention that `flex-wrap: balance` landed in Chrome stable last month!? π
Finally
We're rolling out a small tweak to boost visibility of your posts to your mutuals (people who you follow back).
We noticed this data was missing from the algo and it made your friends appear less in your replies. This resulted in the reply section feeling more like a battleground with people you don't recognize.
This should also help clusters form around interests more easily, which many people have asked for.
4
36
6,137
Does anyone @Shopify know why you can't sell things in fractions (i.e. 0.5, 0.25)?
Seems like a basic platform feature but apparently the only way to do this is via paid apps that are expensive and don't work well.
The fabric/sewing community is very upset about this. WHY is this an issue?
Agentic shopping demos are the Soylent of AI π
This is so spot on @syntaxfm
youtube.com/watch?v=obQvDMjvβ¦
With style queries now in all browsers, here's my take on the best way to do dynamic color theming with modern CSS:
- register a custom property
- light-dark() to style based on color-scheme
- contrast-color() to auto-pick black or white for foreground text on any background
- style queries to branch into custom color pallets based on contrast-color
Some other fun tricks in here too like using light-dark() with transparent to swap between shadows and glowy borders
Blog post β¬οΈβ¬οΈ
I'm in Europe: land of the content-blocking full-screen cookie banner.
How do you all use the internet like this all the time!?
Neat anchor positioning thing:
(I'm implementing some interest-invoked popovers on my blog for internal links)
The "taller" tooltips don't fit in the viewport, so they get positioned above the link.
All of this is done with a few lines of CSS, a couple of HTML attributes, and is a progressive enhancement so they don't change the existing experience for non-supported browsers.
(I'm still working on the design/animations)
Demo if you want to explore it yourself (hover or focus "contrast-color()")
codepen.io/una/pen/MYbRLaO
2
8
1,613
Had a blast @Future_Frontend!
And tomorrow Iβm headed to Amsterdam for #CSSDay ππ
Will I see you there? π
Customizable select is coming to Safari 27! π₯³
Want to try it out? Check out my demo collection: codepen.io/collection/BNZjPe
Ooh interesting design detail. Really makes it feel like the top object is floating off the page.
Design Engineering Tip:
Separate the object from its shadow.
When an element lifts away from a surface, the shadow doesn't always need to move with it. Keeping the shadow grounded and fading it based on distance can create a stronger sense of depth and physicality.
Used carefully, this can make interfaces feel more tangible and less like layers floating on a screen. It's not something I'd apply everywhere, but for moments that need extra emphasis, it can be surprisingly effective.
js
const card = document.querySelector(".notification"); const shadow = document.querySelector(".shadow"); card.animate( [ { transform: "translateY(0)" }, { transform: "translateY(-160px)" }, ], { duration: 900, easing: "cubic-bezier(.64,0,.78,0)" } ); shadow.animate( [ { opacity: 0.5, transform: "scaleX(1)" }, { opacity: 0, transform: "scaleX(.35)" }, ], { duration: 700, easing: "ease-out" } );
β
Nice little button scale-down on activation
π Layout change because scroll bar disappears
π No light dismiss
Let's fix it.
These UX problems can easily be solved with:
- dialog + closedby="any"
- overscroll-behavior: contain
Works in Chrome & FFβSafari still missing the overscroll-behavior on non-scrollable scroll containers change
Here's a demo of a similar interaction: codepen.io/una/pen/PwbRzdV
4
1,642











