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