meta_pixel
Tapesearch Logo
Log in
Syntax - Tasty Web Development Treats

996: 10 New CSS and HTML APIs

Syntax - Tasty Web Development Treats

Wes Bos

Tech News, Technology, News

4.91.2K Ratings

🗓️ 15 April 2026

⏱️ 31 minutes

🧾️ Download transcript

Summary

Wes and Scott talk about the latest CSS and browser features, including the Grid Lines API for masonry layouts, HTML in Canvas, name-only container queries, CSS random, search-text styling, and more. Show Notes 00:00 Welcome to Syntax! 00:57 Grid Lines API for masonry-style layouts Introducing CSS Grid Lanes CSS Grid Lanes browser support 03:25 HTML in canvas and next-gen UI effects @jaffathecake @mattrothenberg 11:30 Name-only container queries for scoped styles Name-Only Containers: The Scoping We Needed 14:37 Brought to you by Sentry.io 15:34 Safari removes haptic feedback workaround 17:38 CSS random for dynamic values Rolling the Dice with CSS random() 18:49 Styling find-in-page with ::search-text 21:44 Sticky positioning now works in both axes @una 22:43 Multi-column CSS finally gets usable fixes Looking at New CSS Multi-Column Layout Wrapping Features 24:41 Border shape improvements and new design options @una MadCSS.com 27:09 Why MDN demos need to be better 28:24 Element-scoped view transitions for cleaner animations @bram.us Hit us up on Socials! Syntax: X Instagram Tiktok LinkedIn Threads Wes: X Instagram Tiktok LinkedIn Threads Scott: X Instagram Tiktok LinkedIn Threads Randy: X Instagram YouTube Threads

Transcript

Click on a timestamp to play from that location

0:00.0

Welcome to Syntax. Today, we are talking about a bunch of new stuff in CSS and HTML.

0:06.0

There has been some big things added and some small things added, some nice quality of life things,

0:13.0

and some really exciting things that you cannot use just yet, but you can play around with.

0:19.0

There is just like an onslaught of new stuff. So we've collected a handful of these things and are going to be sharing with you today. My name is Scott Tillenski. I'm a developer from Denver with me as always as Wes Boss. What's up, Wes? I can't wait to talk about the HTML and Canvas thing. Honestly, I didn't even know that this was going to be a thing. I didn't even know this was an option. And now the world has opened up to me. Yeah. Yeah. Stop. My brain has been opened up by some of these demos for this. So I'm stoked to get into that too. So stay tuned, folks. We're going to be talking about what the heck HTML in Canvas is and why it's going to allow for crazy stuff

0:57.0

going on on the web. So the very first one I want to get into is something that has been

1:00.6

long awaited in CSS, which is the CSS Masonry API, aka the actual name for this thing

1:07.2

is CSS grid lanes. There's a display property, display grid lanes, and then you can specify using grid template columns, those types of things in Gap, the CSS properties that we know and love. The only difference is that the content actually filters in in the classic masonry Pinterest style layout.

1:28.2

This can be useful for all kinds of things beyond just your classic photo grids or things like that.

1:33.3

I saw it being used for like footer links to have the footer links all shuffle correctly.

1:39.1

This is kind of the best possible thing we could be adding as an implementation for the masonry style

1:46.8

layouts in CSS.

1:48.2

It's going to allow for the shuffling of elements in such a great way where in the past

1:55.3

we had CSS columns that were things went like one, two, three down vertically before going into the next column. This is actually going to do the opposite where things went like one, two, three, down vertically before going into the next column.

2:02.3

This is actually going to do the opposite where things will fill in kind of where they fit in,

2:07.7

left to right. They will just kind of fit. And you can actually do it right to left or up to down,

2:12.9

left to right. You can change all of that as well. But if you just want a straight-up masonry-style layout, man, display grid lanes can get any more simple than that?

2:23.3

It is really super cool.

2:26.0

That's it.

2:26.6

There's nothing to learn here.

2:28.1

It's simply just display grid lanes.

2:30.5

And now you can have multiple, like a Pinterest style layout which is something that

2:36.7

we have been trying to do forever and we've had like in we had what like box pack fit in csss

...

Please login to see the full transcript.

Disclaimer: The podcast and artwork embedded on this page are from Wes Bos, and are the property of its owner and not affiliated with or endorsed by Tapesearch.

Generated transcripts are the property of Wes Bos and are distributed freely under the Fair Use doctrine. Transcripts generated by Tapesearch are not guaranteed to be accurate.

Copyright © Tapesearch 2026.