daily pastebin goal
83%
SHARE
TWEET

Untitled

a guest Jun 13th, 2018 45 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. div#mydiv {
  2. margin: -10px;
  3. }
  4.    
  5. * { margin: 0; padding: 0; }
  6.    
  7. <div id="shader"></div>
  8.    
  9. #shader {position: absolute; width: 100%; height: 100%; min-height: 100%; top: 0; left: 0;}
  10.    
  11. div.cover { position: fixed; top: 0px; left: 0px; right: 0px; bottom: 0px; }
  12.    
  13. <div style="position:absolute;left:0px;top:0px;width:100%;height:100%;">...
  14.    
  15. <div style="margin:-100%">
  16.    
  17. <style type="text/css">
  18.     #superdiv{ position:fixed; top:0; left:0; width:100%; height:100%; }
  19. </style>
  20.  
  21. <div id="superdiv">
  22.     Put some content here.
  23. </div>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top