*How to center an element horizontally and vertically*
Flexbox: center horizontally and vertically
Flexbox method
```
display: -webkit-flexbox;
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
-webkit-flex-align: center;
-ms-flex-align: center;
-webkit-align-items: center;
align-items: center;
justify-content: center;
```
11 сен 2024