Block, Inline, and Inline-Block explained | CSS Tutorial

Kevin Powell on YouTubeWatch on YouTube

SaveMark complete

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

BeginnerUI14 min

About this video

A CSS tutorial explaining how block, inline and inline-block elements each behave and why you might switch an element's display property. It suits people learning CSS.

What you’ll learn

  • Explain how block, inline and inline-block elements differ in layout
  • Predict how changing an element's display property affects its box and flow
  • Choose the display value that suits a layout need