Last active
December 10, 2015 14:19
-
-
Save phantom42/4447221 to your computer and use it in GitHub Desktop.
css thumbnail class set to maintain aspect ratio
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
img.resize{height:80px;width:auto;} | |
img.resize{height:auto;width:80px;} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment