Created
January 18, 2014 22:43
-
-
Save nextechu/8497829 to your computer and use it in GitHub Desktop.
position:relative If you specify position:relative, then you can use top or bottom, and left or right to move the element relative to where it would normally occur in the document.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#div-1 { | |
position:relative; | |
top:20px; | |
left:-40px; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment