Created
December 15, 2013 09:48
-
-
Save jklm313/7970914 to your computer and use it in GitHub Desktop.
Untitled
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
.container { | |
float: left; | |
width: 180px; | |
height: 210px; | |
text-align: center; | |
border: 1px solid red; | |
line-height: 210px; | |
} | |
.container > img { | |
width: auto; | |
max-width: 100%; | |
max-height: 100%; | |
vertical-align: middle; | |
} |
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 class='container'> | |
<image src='http://www.lorempixel.com/100/200' /> | |
</div> | |
<div class='container'> | |
<image src='http://www.lorempixel.com/200/200' /> | |
</div> | |
<div class='container'> | |
<image src='http://www.lorempixel.com/300/400' /> | |
</div> | |
<div class='container'> | |
<image src='http://www.lorempixel.com/100/100' /> | |
</div> | |
<div class='container'> | |
<image src='http://www.lorempixel.com/400/200' /> | |
</div> | |
<div class='container'> | |
<image src='http://www.lorempixel.com/300/100' /> | |
</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
{"view":"separate","fontsize":"100","seethrough":"1","prefixfree":"1","page":"all"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment