Vlad
dalwlad.bsky.social
Vlad
@dalwlad.bsky.social
Reposted by Vlad
It's taking me forever, but I'm getting closer to a react-resizable-panels version 4 release. The major difference will be support for more size units (%, pixels, rem/em, vh/vw)
November 15, 2025 at 6:33 PM
Reposted by Vlad
⌨️ New blog post: more shenanigans with #CSS infinity calculations, which not only uncovered more browser inconsistencies but also led to me spending time on Wikipedia’s “Timeline of the far future” page. meyerweb.com/eric/thought...
To Infinity… But Not Beyond!
More explorations of ways to abuse the CSS `infinity` keyword, this time with more than just lengths.
meyerweb.com
August 20, 2025 at 3:20 PM
Reposted by Vlad
@una.im made a great video about the anchored style query: www.youtube.com/watch?v=u5-V...
First look: Anchored style queries (early stage prototype in Chrome 139+)
YouTube video by Una Kravets
www.youtube.com
August 11, 2025 at 5:48 AM
Reposted by Vlad
Container queries aren't about size anymore. Now we have style, scroll-state, anchored, and who knows what's coming? 🤩
August 11, 2025 at 5:47 AM
Reposted by Vlad
The other day @davatron5000.bsky.social shared a link to the new `stretch` keyword in CSS – and I saw a lot of questions about how it's different from 100% (or 100vh when doing full-screen layouts). So I made a quick video to show how these all work! #CSS

youtu.be/iZZXOuLxagE
There's a new stretch keyword in CSS?
YouTube video by Winging It
youtu.be
August 7, 2025 at 4:40 PM
Reposted by Vlad
One of the most powerful tools in my toolbox is SVG. When combined with CSS and JavaScript, we can do some truly remarkable things. ✨

📝 I’ve just published a brand-new blog post that covers the most critical fundamentals. It’s chock full of interactive demos. 😄

Check it out:
A Friendly Introduction to SVG • Josh W. Comeau
SVGs are one of the most remarkable technologies we have access to on the web. They’re first-class citizens, fully addressable with CSS and JavaScript. In this tutorial, I’ll cover all of the most imp...
www.joshwcomeau.com
July 21, 2025 at 3:11 PM
Reposted by Vlad
:state() is a great mechanism for matching elements without having to tweak their DOM.

What if we could expand it to…

…regular elements? github.com/whatwg/html/...

…selectors (as an alias)?
github.com/w3c/csswg-dr...
July 18, 2025 at 8:57 PM
Reposted by Vlad
I wrote a new article for @frontendmasters.com: Step Gradients with a Given Number of Steps!

Consider this problem: you are given 2 hex codes + a number of steps. How would you code a step gradient? Think about it, then see my solution frontendmasters.com/blog/step-gr...

Enjoy!

#CSS #SVG #filter
Step Gradients with a Given Number of Steps
A deep dive into producing an interpolated
frontendmasters.com
June 30, 2025 at 6:02 PM
Reposted by Vlad
Ok, here's my second post on a potential native DOM templating API, diving into exactly what such an API should actually look like and why.

justinfagnani.com/2025/06/30/w...
What should a native DOM templating API look like?
justinfagnani.com
June 30, 2025 at 6:37 PM
Reposted by Vlad
Four years go, @patrickbrosset.com showed us how to style the gap between layout elements using clever workarounds.

Well, he's back to show us how we'll soon have a few simple CSS properties that make it easy, yet also flexible without any fuss.

css-tricks.com/the-gap-stri...
The Gap Strikes Back: Now Stylable | CSS-Tricks
Styling the space between layout items — the gap — has typically required some clever workarounds. But a new CSS feature changes all that with just a few simple CSS properties that make it easy, yet a...
css-tricks.com
July 1, 2025 at 12:44 PM
Reposted by Vlad
Resize Observer is a good API that is more performant than its older counterpart. But it can sort of look messy in practice, particularly without comments.

@zellwk.bsky.social has a couple of thoughts for making it easier to use.

css-tricks.com/a-better-api...
A Better API for the Resize Observer | CSS-Tricks
ResizeObserver, MutationObserver, and IntersectionObserver enhance performance over their predecessors. Zell discusses their API similarities, usage steps, refactoring strategies, and advantages with ...
css-tricks.com
June 16, 2025 at 1:45 PM
Reposted by Vlad
📣 Ep 3 of @whatthespec.bsky.social is here 🥳
@miriam.codes talks CSS history, Cascade Layers and rethinking `!important`. Available on your fav podcast app & RSS.

Apple: podcasts.apple.com/us/podcast/c...

Spotify: open.spotify.com/episode/6o4S...

Transcript: lolaslab.co/what-the-spe...
June 16, 2025 at 2:38 PM
Reposted by Vlad
This is also pretty rad, because in addition to being local state, it also registers your state as enums that you can use to STYLE your components with the ":state" CSS selector.

developer.mozilla.org/en-US/docs/...
CustomStateSet - Web APIs | MDN
The CustomStateSet interface of the Document Object Model stores a list of states for an autonomous custom element, and allows states to be added and removed from the set.
developer.mozilla.org
June 16, 2025 at 8:13 PM
Reposted by Vlad
Talked with @jakearchibald.com about the possibility of an HTML ``.

Why doesn't it exist? Could it exist? *Should* it exist?

I'm a little obsessed with this.

shoptalkshow.com/668/
668: Jake Archibald on Native HTML Includes
Jake Archibald joins us to discuss HTML includes, potential solutions, and the implications of introducing such a feature. We talk about security concerns, performance implications, and community f…
shoptalkshow.com
June 10, 2025 at 8:23 PM
Reposted by Vlad
I really wish Disposables were inherited through closures. But that's not the case. You have to dispose of them manually if you wrap them in a function.

This will be solved with disposable stacks though.
June 10, 2025 at 9:16 PM
Reposted by Vlad
The one where I muse about how this simple bit of code radically changes how the web itself seems to behave…

webkit.org/blog/16967/t...
Two lines of Cross-Document View Transitions code you can use on every website today
Arguably, the most profound thing about the web is the ability to link one page to another.
webkit.org
May 22, 2025 at 6:36 PM
Reposted by Vlad
CSS if() function landed today(!!!) in Chrome 137 🥳

along with another rad feature: reading-flow 🥳

So I put together a quick video showcasing both:
youtu.be/Apn8ucs7AL0
CSS if() functions & reading-flow (in Chrome 137)
YouTube video by Una Kravets
youtu.be
May 27, 2025 at 9:29 PM
Reposted by Vlad
There is no reason not to use `interpolate-size: allow-keywords`.

developer.chrome.com/docs/css-ui/...

Combine it with `::details-content` and you can have animating `
` elements.

developer.chrome.com/blog/styling...
Woohoo, we've just enabled the CSS property interpolate-size: allow-keywords on the BBC UK website. Now our teams can animate panels expanding to intrinsic sizes like 'auto' without having to do any hacks!

Could you enable it on your website? It's an easy win! developer.mozilla.org/en-US/docs/W...
interpolate-size - CSS: Cascading Style Sheets | MDN
The interpolate-size CSS property allows you to enable animations and transitions between a <length-percentage> value and an intrinsic size value such as auto, fit-content, or max-content.
developer.mozilla.org
May 28, 2025 at 1:11 PM
Reposted by Vlad
👀 Coming to Chrome DevTools in Chrome 138: CSS Value Tracing

When you hover a --custom-prop in a `var()`, DevTools currently shows you the computed value. From Chrome 138 onwards, you can hover the `var` part to see how CSS actually got to that value.
May 29, 2025 at 1:32 PM
Reposted by Vlad
🎉 OUR DESIGN TOKENS COURSE IS OFFICIALLY LAUNCHED! 🎉 designtokenscourse.com

Subatomic: The Complete Guide To Design Tokens offers:
◉ Over 13 hours of in-depth videos
◉ Figma & code sample architecture
◉ Naming & governance workflows
◉ PDF slides with over 150 resources
◉ Certificate of completion
May 7, 2025 at 6:57 PM
Reposted by Vlad
Yet another way to pull off the classic CSS scroll shadows trick — this time using masks in combination with scroll-driven animation.

css-tricks.com/modern-scrol...
Modern Scroll Shadows Using Scroll-Driven Animations | CSS-Tricks
Using scroll shadows, especially for mobile devices, is a subtle bit of UX that Chris has covered before. Geoff covered a newer approach that uses the animation-timeline property. Here’s yet another w...
css-tricks.com
May 5, 2025 at 1:08 PM
Reposted by Vlad
This landing page from Dan Hollick is such a masterclass. The book looks great too!

www.makingsoftware.com
May 5, 2025 at 1:07 PM
Reposted by Vlad
Time to kick the tires on the #CSS @mixin prototype in Canary

nerdy.dev/css-mixins-r...
March 26, 2025 at 3:18 PM
Reposted by Vlad
#tinyCSStip
Revert animated parent transform (like a scale or skew) on child without an extra animation using registered custom properties.

codepen.io/thebabydino/...

#CSS
March 23, 2025 at 6:55 PM