7 ways to center with CSS

Kevin Powell on YouTubeWatch on YouTube

SaveMark complete

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

ShortBeginnerUI1 min

About this video

Seven simple CSS techniques for centring an element both vertically and horizontally.

What you’ll learn

  • Centre an element horizontally and vertically using seven different CSS methods