Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <div class="container">
- <div class="absolute">Content</div>
- </div>
- .container {
- position: relative;
- left: 100px; /*or any other value*/
- }
- .absolute {
- position: absolute;
- left: 0;
- }
- .container {
- position: relative;
- left: 100px; /*or any other value*/
- overflow: visible
- }
- .absolute {
- position: absolute;
- left: 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement