meta_pixel
Tapesearch Logo
Log in
Syntax - Tasty Web Development Treats

Nothing in CSS - 0 vs 0px, no, none, hidden, initial and unset

Syntax - Tasty Web Development Treats

Wes Bos

Tech News, Technology, News

4.91.2K Ratings

🗓️ 5 June 2023

⏱️ 34 minutes

🧾️ Download transcript

Summary

In this Hasty Treat, Scott and Wes talk about all the nothing in CSS: 0 vs 0px, no, none, hidden, initial and unset. Show Notes 00:22 Welcome 01:50 The @ property 03:33 Hiding Things 10:07 Ghost Spaces 17:47 Collapsing margins 18:33 0 units vs 0 23:42 Unset and initial 27:42 HTML Bonus Tweet us your tasty treats Scott’s Instagram LevelUpTutorials Instagram Wes’ Instagram Wes’ Twitter Wes’ Facebook Scott’s Twitter Make sure to include @SyntaxFM in your tweets Wes Bos on Bluesky Scott on Bluesky Syntax on Bluesky

Transcript

Click on a timestamp to play from that location

0:00.0

Monday. Monday. Monday! Open wide dev fans. Get ready to stuff your face with

0:07.0

JavaScript CSS. Node modules. Barbecue tips. Get workflow. Break dancing. Soft skills.

0:12.0

Web development. The hastiest. The craziest. The tastiest. Web development

0:16.0

treats. Coming in hot. Here is Wes. Barakuda. Boss. And Scott.

0:22.0

Tiltaro. Logo. Tolinsky. Welcome to syntax on this Monday. Hastie

0:32.0

Treat. We're going to be talking about absolutely nothing.

0:35.0

Nothing. Self-sitch. Nada. Nothing in CSS is zero, zero picks. No, none.

0:40.0

Hidden initial unsaid. All the stuff that essentially either undoes or does

0:45.0

says the absence of something within CSS. My name is Scott Lenskamm.

0:50.0

A developer from Denver. And with me as always is Wes. Boss.

0:55.0

Hey, I ran into something a couple months ago, which was the fact that zero

1:03.0

seconds and zero are not the same thing in CSS. And I thought, man, like what

1:10.0

else is there in CSS that is none zero hidden? There's a we did a whole show

1:16.0

on nothing in JavaScript and nothing in TypeScript. You've got zero,

1:21.0

null, false, undefined, any unknown, never, right? Like there's all

1:27.0

these things that drive the whole world. TypeScript not being.

1:31.0

And then I was thinking like, wow, we actually have quite a bit of that in

1:35.0

CSS as well as a couple things in HTML. We're going to hit upon as well.

1:40.0

So let's get before we even do that. Wes, I wanted to bring something

1:45.0

to your attention that you might not know about. Oh, so you had

1:50.0

mentioned that the values are different, even different types of values,

1:54.0

right? And have you heard of the at property new syntax within CSS that's

...

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.