SHARE
TWEET

Untitled

a guest Jul 22nd, 2019 71 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <div class="container">
  2.     <div class="absolute">Content</div>
  3. </div>
  4.      
  5. .container {
  6.     position: relative;
  7.     left: 100px; /*or any other value*/
  8. }
  9.  
  10. .absolute {
  11.     position: absolute;
  12.     left: 0;
  13. }
  14.      
  15. .container {
  16.     position: relative;
  17.     left: 100px; /*or any other value*/
  18.     overflow: visible
  19. }
  20.  
  21. .absolute {
  22.     position: absolute;
  23.     left: 0;
  24. }
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