.container {
display: grid;
place-items: center;
}
It was pretty easy, right? In just two lines of code you can center an element both vertically and horizontally.
See you!
.container {
display: grid;
place-items: center;
}
It was pretty easy, right? In just two lines of code you can center an element both vertically and horizontally.
See you!
For further actions, you may consider blocking this person and/or reporting abuse
0x2e Tech -
0x2e Tech -
Hermann ESSOH -
Pawani Madushika -
Top comments (0)