krot

css center

Mar 3rd, 2020
781
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. .center{
  2.   position: absolute;
  3.   left: 50%;
  4.   transform: translate(-50%);
  5. }
RAW Paste Data