Where do scrollbars go, inside or outside the box? In this episode Una and Adam answer that and much more in their discussion of the CSS box model. Everything in CSS starts as a box, and while that’s a straight forward concept to initially think about, it can get complex quite quickly. Not only do boxes surround elements, but letters in a sentence each have a box too. How many boxes are there!? Lots. Lots of boxes.
Links
Box Model CSS Spec: https://goo.gle/39KwDud
Adam’s Box Model CodePen: https://goo.gle/38JFZ8n
CSS Tricks on the Box Model: https://goo.gle/3aM4a7p
Check out the Instagram: https://goo.gle/2W97OEg
03/12/20 • 12 min
1 Listener
Generate a badge
Get a badge for your website that links back to this episode
<a href="https://goodpods.com/podcasts/the-css-podcast-197697/1-the-box-model-19454769"> <img src="https://storage.googleapis.com/goodpods-images-bucket/badges/generic-badge-1.svg" alt="listen to 1: the box model on goodpods" style="width: 225px" /> </a>
Copy