Categories
Uncategorised

transform:translate();

css absolute positioning to center element

#element {
   position:absolute;
   left:50%;
   top:50%;
   transition:translate(-50%, -50%);
}