... Follow
Created by potrace 1.16, written by Peter Selinger 2001-2019
No Internet Connection
You are not connected. Login
The Developer
@developer • 10 months ago
How to center a div?

Horizontaly:
left:50%;
transform:translateX(-50%);

Verticaly:
top:50%;
transform:translateY(-50%);

I hope this help
0 0 0
Vistal - Microblogging, Short Videos, Web Search & Social Platform | Product Hunt

Explore

Hashtag

(5)

(3)

(2)

(2)

(2)

(2)

(2)

(2)

(2)

(2)

· · · · · · · · ·