meta_pixel
Tapesearch Logo
Log in
Syntax - Tasty Web Development Treats

Margins

Syntax - Tasty Web Development Treats

Wes Bos

Tech News, Technology, News

4.91.2K Ratings

🗓️ 29 August 2022

⏱️ 21 minutes

🧾️ Download transcript

Summary

In this Hasty Treat, Scott and Wes talk about margins. There are a lot of techniques for dealing with margins - padding instead of margin, only margin or padding bottom, Flexbox for everything, Grid for everything, or a spacing Div. Sentry - Sponsor Find out about Sentry’s Dex Conference. From controlling chaotic workflows to maintaining stable code, there’s a lot that can drive a developer mad. We’re hosting DEX, the conference for developers by developers, to give us all a chance to come together and sort through that madness. This is a free, one-day event to share best practices, epic fails, and seasoned insights on how to improve productivity. Whether you join us in-person in San Francisco or virtually from your home, you’ll have the opportunity to share your thoughts, engage with other developers, and walk away with your own personal madness sorting algorithm. Auth0 - Sponsor Auth0 is the easiest way for developers to add authentication and secure their applications. They provides features like user management, multi-factor authentication, and you can even enable users to login with device biometrics with something like their fingerprint. Not to mention, Auth0 has SDKs for your favorite frameworks like React, Next.js, and Node/Express. Make sure to sign up for a free account and give Auth0 a try with the link below. https://a0.to/syntax Show Notes 00:30 Welcome 01:39 Sponsor: Sentry 02:50 Sponsor: Auth0 04:25 Introduction to margins 08:28 Margin vs padding 11:46 New techniques 14:32 The spacer div 17:36 Why do it as a component vs a class? 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

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:06.9

JavaScript CSS node module barbecue tips get workflows break dancing soft skills web

0:12.1

development the hastiest the crazy as the tastiest web development treats coming in

0:17.9

hot here is Wes Barakuda boss and Scott El Toro Lungo Tolinsky

0:25.9

Welcome to syntax on this Monday hasty treat we're going to be talking about

0:32.8

margins and CSS and techniques in your layouts for dealing with margins

0:37.8

something I've recently been diving into quite a bit in our design system and

0:42.9

kind of a wild world where people are doing a lot of really interesting

0:47.4

different techniques and we're going to be talking about some of those

0:50.2

techniques today with the strategies are and what some of the pitfalls with

0:53.9

those strategies are my name is Scott to Linsky I'm a developer from Denver

0:57.1

Colorado with me as always is West the margin boss. Who would have thought

1:03.3

that we'd have an entire show on just margins but honestly it's been the

1:07.9

talk of the town lately I think even margins and as far as like CSS like

1:14.0

foot guns go they're pretty high up on the list in terms of people like

1:18.2

practical day-to-day things that people actually actually struggle with so

1:22.2

I'm glad you're talking about it me personally I feel like this is one of

1:25.3

those things that I've never sat down and really dove in to find the best

1:28.8

solutions so I'll tell you what I'm doing now and maybe what some of the

1:32.4

things I've tried are we can talk about all these different things now this

1:35.9

episode is sponsored by two amazing companies century and off zero now

1:40.2

century has a new conference called Dex and they want you to know about it

...

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.