Lesson

Center an element both horizontally and vertically with place-items CSS property

An ancient problem of centering items with CSS is finally (!) solved!

Duration
1 min
Access
Free
Transcript
Available

An ancient problem of centering items with CSS is finally (!) solved!

In this quick lesson we're going to learn how to use place-items CSS property in order to center an element both horizontally and vertically with a single line of code!