Dom Magnifico
doom.codes
Dom Magnifico
@doom.codes
Pinned
I'm doing a thing now where I try to rediscover CSS properties I forgot about, or find new ones that are interesting to me. Today's is attr(). You can pull data attributes straight into the content property. No JS, no extra DOM. It's been in the spec forever and I just... never use it.
I'm so happy with the new @houseofgiants.com site 😈
October 28, 2026 at 3:22 PM
Threw together a little video on the progress() CSS property. Excellent for handling fluid typography. Check it out!
October 21, 2026 at 8:14 PM
Took a look at the progress() property today. Fluid typography is getting easier and easier to manage.

Cool to be able to more easily pin it to the container width too.
October 21, 2026 at 3:43 PM
My latest bit of resistance against Al induced brain atrophy:

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.
September 2, 2026 at 5:13 PM
In my battle against AI induced brain atrophy, I've been trying to find interesting CSS or JS properties to explore. The latest:

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.
August 17, 2026 at 8:09 PM
Reposted by Dom Magnifico
My "Poetic CSS" course goes live on Wednesday, with an Early Bird discount for the month of July! Here's another "side quest" on using shorthand properties:

youtu.be/LNZQmOk3hKk

Sign up for email updates (and a drawing for a handmade @OddBird mug):

courses.oddbird.net/poetic-css/#... #css
Use Shorthands for a Fresh Start
YouTube video by Winging It
youtu.be
June 29, 2026 at 4:39 PM
Wrote some more about how we're using AI @houseofgiants.com

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.
June 19, 2026 at 7:07 PM
Reposted by Dom Magnifico
As @una.im just mentioned in her #cssday talk, the CSS WG recently resolved to insert a ⓘ after EVERY SINGLE INTEREST INVOKER on touchscreens.

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...
June 12, 2026 at 3:06 PM
I haven't used #CSS container queries as much as I should be.

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.
June 18, 2026 at 6:44 PM
It's both rad and annoying when you find a CSS attribute that solves a problem you've worked collective hours trying to solve for.

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(): readable text from one color
CSS contrast-color() lets the browser pick black or white text from a dynamic background color, which is perfect for badges, buttons, chips, and user-picked themes.
dommagnifi.co
June 16, 2026 at 5:16 PM
The thing I loved about this industry is dying, and I'm watching it happen from the inside.

dommagnifi.co/2026-04-01-t...
The Struggle is What We Crave
On the death of web dev communities, the callouses that made us better, and why eliminating struggle might be the worst thing we've ever built.
dommagnifi.co
April 1, 2026 at 5:28 PM
Working with dates in JavaScript has always been a nightmare.

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.
March 17, 2026 at 9:13 PM
I love color-mix(). Trying to derive shades and hues by eye is such a pain in the ass, and I've been guilty of eyeballing hex values for way too long.

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 👇
March 12, 2026 at 7:36 PM
Another day, another 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 👇
March 6, 2026 at 6:51 PM
I'm doing a thing now where I try to rediscover CSS properties I forgot about, or find new ones that are interesting to me. Today's is attr(). You can pull data attributes straight into the content property. No JS, no extra DOM. It's been in the spec forever and I just... never use it.
March 4, 2026 at 10:32 PM
I always forget about scroll-margin-top. If you have sticky or fixed nav type UI on your site, paired with anchor navigation, it will offset the scroll target so your content lands below the sticky element instead of hiding behind it. 🔥
March 3, 2026 at 7:45 PM
Haven't written anything on my personal site since 2015. Here's what I've got ten years later...

www.dommagnifi.co/2026-03-02-t...
Ten Years of Uncomfortable
I wrote that. Ten years ago. I should probably listen to myself more.
www.dommagnifi.co
March 3, 2026 at 4:29 AM
I built out a documentation site for the insane block markup associated with #WordPress Gutenberg blocks. There were sparse docs, and using the WP Block GitHub as a reference was silly. Contributions and feedback welcome 🤘

Documentation Site: www.wpblockdocs.com
GitHub: github.com/house-of-gia...
WordPress Block HTML Reference - Complete Developer Guide
The ultimate resource for WordPress Gutenberg block HTML markup, syntax, and properties. Learn WordPress block development with interactive examples and comprehensive documentation.
www.wpblockdocs.com
July 15, 2025 at 5:02 PM
Excellent post showcasing the power of attr()!
In case you missed it, I published an article about the new attr() in CSS.

ishadeed.com/article/mode...
April 9, 2025 at 2:56 PM
We made a weird thing @houseofgiants.com - Feed the void.

sleep.houseofgiants.com
S.L.U.M.B.E.R. - Soul Leeching Unholy Machine Bleeding Energy Reservoirs
Surrender your weariness to the void
sleep.houseofgiants.com
April 2, 2025 at 4:28 PM
Did a little writing about the bane of every web developers existence. The Carousel 👹.

houseofgiants.com/blog/carouse...
Carousels & Sliders: Eye Candy or Page Bloat?
houseofgiants.com
March 12, 2025 at 4:37 PM
Reposted by Dom Magnifico
OH HELL YEAH. A mega-helpful glossary for design tokens by @donnie.damato.design: designtokens.fyi
designtokens.fyi
Defining terms for design tokens.
designtokens.fyi
March 5, 2025 at 2:55 PM
Even though the #WordPress ecosystem kind of stinks right now, I wrote a high-level primer for folks about what the Gutenberg editor is.

houseofgiants.com/blog/what-th...
What the Heck Is Gutenberg?
houseofgiants.com
February 21, 2025 at 5:04 PM
Web Components are a hot topic - I love the potential they have for nice clean markup. At the same time it feels like the wild west again in terms of being able to do anything you want within the markup.

I worry about the future being incoherent hashed Web Component names.
Hi! A couple of promos for the Web Components Demystified online course.

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 💘
Web Components Demystified online course | Scott Jehl, Web Designer/Developer
A comprehensive, premium course about building dynamic, fast, resilient apps with standard web components.
scottjehl.com
February 11, 2025 at 9:42 PM