+ 2

How to make div exactly in the middle/center of the body

How to make div exactly in the middle of the body ? ( vertically and Horizontally ) I have tried several method but none of them work properly especially the vertical one.

15th Aug 2019, 4:32 AM
Bee David
Bee David - avatar
2 Answers
15th Aug 2019, 5:35 AM
Farhan
Farhan - avatar
+ 2
https://code.sololearn.com/W6xs6yxOeK5R/?ref=app
15th Aug 2019, 5:38 AM
Chris MĂŒller
Chris MĂŒller - avatar