+ 1
Center an Element
How to center a div using css? Can you list different methods?
3 Respuestas
+ 5
There are many more helpful codes, visit the code tab and tap the magnifying glass to search for "div center"
+ 4
https://sololearn.com/compiler-playground/W451NzMx3xMe/?ref=app
https://sololearn.com/compiler-playground/Ww3UnhTOyogM/?ref=app
https://sololearn.com/compiler-playground/Wn04O6G8SHHx/?ref=app
https://sololearn.com/compiler-playground/W37q1FclkOq0/?ref=app
https://sololearn.com/compiler-playground/WY3K47DyM132/?ref=app
https://sololearn.com/compiler-playground/W9Q8k2M247Fl/?ref=app
0
Would recomend: display: flex; align-items: center; justify-content: center;