Created
May 26, 2014 19:13
-
-
Save Lif3line/da7b5de4e89e7e4097c3 to your computer and use it in GitHub Desktop.
Center image in css (applies to anything though)
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
.centeredImg { | |
display: block; | |
position: relative; | |
padding: 0px; | |
margin: 0px auto auto auto; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment