Skip to content
92: CSS if() and custom functions episode artwork

Oct 13, 2025 25 min

92: CSS if() and custom functions

from The CSS Podcast Hosted by Google

Welcome back to the new season of the CSS Podcast, where Una and Bramus are your guides, your cohosts, and your CSS best friends. In this episode we dig into two very powerful new CSS features: inline conditionals with the if() function, and custom functions. Resources: CSS if() function specification → https://goo.gle/3IBChWo Article on if() by Una → https://goo.gle/4nUxIp2 Article on if() by Lea Verou → https://goo.gle/4nt2UvS CSS mixins specification → https://goo.gle/48H8SEH Article on @function by Una → https://goo.gle/48H99rd Article on @function and if() by Bramus → https://goo.gle/46qPbzy The CSS Space Toggle by Chris Coyier → https://goo.gle/4874qio Una Kravets (co-host) Twitter | Instagram | YouTube Making the web more colorful ✨🎨 Web DevRel @googlechrome Unicorn face host of @toolsday & Designing in the Browser 🎬 Bramus Van Damme (co-host) Bluesky | Mastodon | YouTube | Website @GoogleChrome CSS DevRel; @CSSWG; Scuba Diver 🤿

Episode details come from the podcast's RSS feed.

Embed this episode

Ready to play

92: CSS if() and custom functions

0:00 25:49

No transcript yet.

Requests help us decide what to transcribe next.

Frequently asked questions

How long is this episode of The CSS Podcast?

This episode is 25 minutes long.

When was this The CSS Podcast episode published?

This episode was published on October 13, 2025.

Can I download this The CSS Podcast episode?

Yes. Use the download control on the episode player to save the publisher-provided media file.