Centering | Notion
Centering
Using Flexbox
Using CSS transform
Using margin: 0 auto;
Using text-align
Using position absolute
Using calc
Using line-height
Vertical align anything with 3 lines of code
Ghost element technique Micha Czernows hack
Centering in relation to another item
Vertically align an image inside div
Centering vertically and horizontally without worrying about height or width
Centering with fixed size
Vertically align dynamic height elements
Horizontal and Vertical centering using table layout