Theme Raid / Articles & Tutorials

css centering

Popup div centered in middle of Screen (CSS)

A simple & direct script to center a popup window div in the middle center of your screen with css.

div {position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 50%;

We always add new freebies, click like below to keep updated