HTML & CSS for Absolute Beginners: box-sizing

Kevin Powell on YouTubeWatch on YouTube

SaveMark complete

Sign in to save videos and track what you’ve finished.

BeginnerUI5 min

About this video

A beginner lesson on the CSS box-sizing property, part of a course on building websites with HTML and CSS from scratch. It suits people with no prior coding experience.

What you’ll learn

  • Explain how box-sizing changes the way element widths are calculated
  • Apply box-sizing to make layouts with padding and borders behave predictably