(Don't look at current spec, just think of what feels right)
Poll:
indieweb.social/@nomster/115...
or x.com/nomsternom/s...
(Don't look at current spec, just think of what feels right)
Poll:
indieweb.social/@nomster/115...
or x.com/nomsternom/s...
codepen.io/noamr-the-se...
Hopefully @fserb.com will explain to me at some point how he got to this. Gemini could only guess 😆
Full blog post about corner-shape weird stuff when I become less lazy.
codepen.io/noamr-the-se...
Hopefully @fserb.com will explain to me at some point how he got to this. Gemini could only guess 😆
Full blog post about corner-shape weird stuff when I become less lazy.
⚠️ 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
Wondering whether those are something that needs to be considered for future HTML enhancement or a thing of the past...
Wondering whether those are something that needs to be considered for future HTML enhancement or a thing of the past...
Create those fancy (random) wavy dividers using the new shape() function! 🤩
css-generators.com/wavy-divider/
Play with the settings and get the code in no time.
✅ One property
✅ Responsive
✅ Works with any element
Enjoy!
Create those fancy (random) wavy dividers using the new shape() function! 🤩
css-generators.com/wavy-divider/
Play with the settings and get the code in no time.
✅ One property
✅ Responsive
✅ Works with any element
Enjoy!
🎉 CSS anchor positioning
🎉 The navigation API
🎉 View transition types
🎉 Brotli support in Compression/DecompressionStream
🎉 CSS module imports
And more!
https://developer.mozilla.org/en-US/docs/Mozilla/Firefox/Releases/147
🎉 CSS anchor positioning
🎉 The navigation API
🎉 View transition types
🎉 Brotli support in Compression/DecompressionStream
🎉 CSS module imports
And more!
https://developer.mozilla.org/en-US/docs/Mozilla/Firefox/Releases/147
new Range().createContextualFragment(
'<img src="foo.png">'
);
Currently, HTML standard says it doesn't, Chromium/Gecko/WebKit implementations say it does.
new Range().createContextualFragment(
'<img src="foo.png">'
);
Currently, HTML standard says it doesn't, Chromium/Gecko/WebKit implementations say it does.
We just launched CSS Wrapped 2025: our annual recap of all things CSS & web UI that landed in Chrome over the course of the year. 🚀
This is a big one! We highlighted 22 new features to help you build better on the web.
Check out: chrome.dev/css-wrapped-2025
We just launched CSS Wrapped 2025: our annual recap of all things CSS & web UI that landed in Chrome over the course of the year. 🚀
This is a big one! We highlighted 22 new features to help you build better on the web.
Check out: chrome.dev/css-wrapped-2025
@nomster.bsky.social @foolip.org and @dbaron.org presented these at W3C TPAC annual meeting last week
More details here:
github.com/WICG/declara...
1/6 🧵
@nomster.bsky.social @foolip.org and @dbaron.org presented these at W3C TPAC annual meeting last week
More details here:
github.com/WICG/declara...
1/6 🧵
const [loading, loading] = useState(false);
<div style={backgroundColor: loading ? "yellow" : "green"}>
But this, as well as utility classes, means that your scripts are bloated with style concerns.
const [loading, loading] = useState(false);
<div style={backgroundColor: loading ? "yellow" : "green"}>
But this, as well as utility classes, means that your scripts are bloated with style concerns.
Please let us know! We have a meeting to discuss this next Wednesday (at TPAC) and would love to hear your stories, especially if they impacted users.
cc @lea.verou.me
Please let us know! We have a meeting to discuss this next Wednesday (at TPAC) and would love to hear your stories, especially if they impacted users.
cc @lea.verou.me
This method is a pretty big deal as it allows you to move elements around the DOM while preserving their state.
This method is a pretty big deal as it allows you to move elements around the DOM while preserving their state.
What Can We Actually Do With corner-shape? | CSS-Tricks share.google/sTQD2Jh8vvzE...
What Can We Actually Do With corner-shape? | CSS-Tricks share.google/sTQD2Jh8vvzE...
developer.mozilla.org/en-US/docs/W...
developer.mozilla.org/en-US/docs/W...
A feature Chrome is working on, is “Scoped View Transitions”, which allow you to scope a VT to a subtree of the DOM.
This unlocks things like concurrent transitions and prevents layering issues.
developer.chrome.com/blog/scoped-...
A feature Chrome is working on, is “Scoped View Transitions”, which allow you to scope a VT to a subtree of the DOM.
This unlocks things like concurrent transitions and prevents layering issues.
developer.chrome.com/blog/scoped-...
Direct CSS reflection of URL state, snappy pending/optimistic UI, URL-to-scroll-snap binding, and some basic same-document navigation use cases, with JS being only an option.
github.com/WICG/declara...
Inviting feedback!
Direct CSS reflection of URL state, snappy pending/optimistic UI, URL-to-scroll-snap binding, and some basic same-document navigation use cases, with JS being only an option.
github.com/WICG/declara...
Inviting feedback!
Do you work on a UI library or framework? I want to hear from you and your experiences/needs. Message me!
Do you work on a UI library or framework? I want to hear from you and your experiences/needs. Message me!
Perhaps we should embrace that IDs being unique is a lost battle.
Perhaps we should embrace that IDs being unique is a lost battle.
We can't go over it, we can't go under it, we've got to go through it.
We can't go over it, we can't go under it, we've got to go through it.
I am sure there are lots but looking for inspiration of where to look.
I am sure there are lots but looking for inspiration of where to look.
I don't know how to flatten these thoughts to a hot take, so just sharing this for now.
I don't know how to flatten these thoughts to a hot take, so just sharing this for now.