9.) CSS Shapes: The padding-box value

Brian Treese on YouTubeWatch on YouTube

SaveMark complete

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

IntermediateDesign Engineering3 min

About this video

This short tutorial explains how the padding-box value of CSS shape-outside sets a shape's position from the container's padding edge. It shows how padding, margin, borders and box-sizing change how shapes are sized and how content flows around them.

What you’ll learn

  • Apply the padding-box value with shape-outside to position a shape
  • Predict how padding changes shape size and text flow
  • Adjust margin, borders and box-sizing to control shape sizing