7.) CSS Shapes: The margin-box value

Brian Treese on YouTubeWatch on YouTube

SaveMark complete

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

IntermediateWeb Design2 min

About this video

A short CSS tutorial on using the margin-box value with shape-outside to set a shape's position from the outer edges of its container's margin. It shows how adjusting padding changes the size of a shape and how content flows around it.

What you’ll learn

  • Use the margin-box value with shape-outside to position a CSS shape
  • Adjust padding to change how text flows around a CSS shape