Best and Worst Ways to Center Without Flex or Grid

Best and Worst Ways to Center Without Flex or Grid

Kevin Powell via YouTube Direct link

- The criteria

2 of 7

2 of 7

- The criteria

Class Central Classrooms beta

YouTube videos curated by Class Central.

Classroom Contents

Best and Worst Ways to Center Without Flex or Grid

Automatically move to the next video in the Classroom when playback concludes

  1. 1 - Introduction
  2. 2 - The criteria
  3. 3 - Technique #1 - line-height
  4. 4 - Technique #2 - tables
  5. 5 - Technique #3 - position absolute v1
  6. 6 - Technique #4 - position absolute v2
  7. 7 - Technique #5 - padding with custom properties

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.