3 Ways to Center in css3
Apr 1, 2021
- CSS Grid
The CSS Grid Layout Module offers a grid-based layout system, with rows and columns, making it easier to design web pages without having to use floats and positioning.
2. CSS Flexbox
The Flexible Box Layout Module, makes it easier to design flexible responsive layout structure without using float or positioning
3. CSS Position
The position
property specifies the type of positioning method used for an element (static, relative, fixed, absolute or sticky).