Cool to be able to more easily pin it to the container width too.
Cool to be able to more easily pin it to the container width too.
text-box-trim
Fonts carry invisible space above their capital letters and below the baseline. That's why text can look off center in a button even when the padding is identical on every side.
text-box-trim
Fonts carry invisible space above their capital letters and below the baseline. That's why text can look off center in a button even when the padding is identical on every side.
field-sizing: content
It lets a textarea grow with its content without manually calculating its height in JS. Add a max-block-size and it’ll grow, then start scrolling.
field-sizing: content
It lets a textarea grow with its content without manually calculating its height in JS. Add a max-block-size and it’ll grow, then start scrolling.
youtu.be/LNZQmOk3hKk
Sign up for email updates (and a drawing for a handmade @OddBird mug):
courses.oddbird.net/poetic-css/#... #css
youtu.be/LNZQmOk3hKk
Sign up for email updates (and a drawing for a handmade @OddBird mug):
courses.oddbird.net/poetic-css/#... #css
We had a massive amount of HoG history to throw at our company brain. And the very AI brained thing to do would have been to shove all of it into the system and call that memory.
We had a massive amount of HoG history to throw at our company brain. And the very AI brained thing to do would have been to shove all of it into the system and call that memory.
Here’s a mock of what this would look like for bsky.
This is the issue to let the CSS WG know what you think: github.com/w3c/csswg-dr...
Here’s a mock of what this would look like for bsky.
This is the issue to let the CSS WG know what you think: github.com/w3c/csswg-dr...
So I looked into some interesting things you can do with them, like the container style query. Pass a custom property to it, and you can style different variations.
Saves you a bunch of BEM style modifier classes.
So I looked into some interesting things you can do with them, like the container style query. Pass a custom property to it, and you can style different variations.
Saves you a bunch of BEM style modifier classes.
contrast-color() is one of those.
Give it one color and it resolves to either black or white, whichever has stronger contrast against that solid background.
More 👇
contrast-color() is one of those.
Give it one color and it resolves to either black or white, whichever has stronger contrast against that solid background.
More 👇
dommagnifi.co/2026-04-01-t...
dommagnifi.co/2026-04-01-t...
Because Date sucks, we needed a pile of workarounds for a 30-year-old mistake. That's why so many projects use moment or day.js.
Temporal reached Stage 4 recently. Time to uninstall all those dependencies.
Because Date sucks, we needed a pile of workarounds for a 30-year-old mistake. That's why so many projects use moment or day.js.
Temporal reached Stage 4 recently. Time to uninstall all those dependencies.
Set one color, mix it with white or black in oklch, and get hover/disabled states, dark mode tints, whatever. All from one source.
New lab entry 👇
Set one color, mix it with white or black in oklch, and get hover/disabled states, dark mode tints, whatever. All from one source.
New lab entry 👇
If you've ever manually added <br> tags to fix heading wraps... stop it.
text-wrap: balance is rad. And text-wrap: pretty handles single word orphan lines in paragraphs.
Link 👇
If you've ever manually added <br> tags to fix heading wraps... stop it.
text-wrap: balance is rad. And text-wrap: pretty handles single word orphan lines in paragraphs.
Link 👇
www.dommagnifi.co/2026-03-02-t...
www.dommagnifi.co/2026-03-02-t...
Documentation Site: www.wpblockdocs.com
GitHub: github.com/house-of-gia...
Documentation Site: www.wpblockdocs.com
GitHub: github.com/house-of-gia...
ishadeed.com/article/mode...
houseofgiants.com/blog/carouse...
houseofgiants.com/blog/carouse...
houseofgiants.com/blog/what-th...
houseofgiants.com/blog/what-th...
I worry about the future being incoherent hashed Web Component names.
I'm raffling off 5 full access coupons today. To enter, reply or quote with something you love OR don't love about web components. Ends at 5pm ET.
💘 And! Get 60% OFF today through Feb 22nd using the code HEARTS 💘
I worry about the future being incoherent hashed Web Component names.