Guest User

Untitled

a guest
Nov 19th, 2019
89
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <div class="bigblock">
  2. <div class="box"></div>
  3. </div>
  4.  
  5. .bigblock {
  6. position: relative;
  7. }
  8.  
  9. .box {
  10. height: 300px;
  11. width: 300px;
  12. position: absolute;
  13. top: 0;
  14. right: 0;
  15. bottom: 0;
  16. left: 0;
  17. margin: auto;
  18. overflow: auto;
  19. }
RAW Paste Data