Created
July 29, 2013 17:34
-
-
Save devluis/6106036 to your computer and use it in GitHub Desktop.
Centrar un div en forma vertical y horizontal utlizando solo CSS
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
position: absolute; | |
left: 50%; | |
top: 50%; | |
width: 300px; | |
height: 200px; | |
margin-top: -100px; | |
margin-left: -150px; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment