Skip to content

Instantly share code, notes, and snippets.

@nextechu
Created January 18, 2014 22:43
Show Gist options
  • Save nextechu/8497829 to your computer and use it in GitHub Desktop.
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.
#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