Created
May 28, 2014 13:16
-
-
Save remyzv/84cc4de26b0fd9598c46 to your computer and use it in GitHub Desktop.
Center an absolute div
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
.logo-header { | |
position:absolute; | |
left:50%; | |
} | |
.logo-header img { | |
position:relative; | |
left:-50%; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment