+ 1

How to center an image with CSS

How to center an image on the entire page

5th Aug 2022, 3:42 PM
Ginna
Ginna - avatar
2 Antworten
+ 2
You can set position to absolute and top and left to 50% and transform translate(-50%,-50%)
5th Aug 2022, 4:43 PM
Mohammed Nihal
Mohammed Nihal - avatar