Last active
August 29, 2015 14:03
-
-
Save jimmylatreille/8c021128509b2aa8f932 to your computer and use it in GitHub Desktop.
Responsive img 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
img { | |
max-width: 100%; | |
height: auto; | |
} | |
@media \0screen { | |
img { | |
width: auto; /* for ie 8 */ | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment