Created
August 7, 2014 14:04
-
-
Save zanonnicola/a4aad23a83f517437960 to your computer and use it in GitHub Desktop.
Responsive imgs cross-beowser
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% /* To make all images fluid */ | |
} | |
.lt-ie8 img{ | |
-ms-interpolation-mode: bicubic /* IE < 8 does not scale images well */ | |
} | |
.lt-ie7 img{ | |
width: 100% /* IE < 7 does not support max-width. Use a container. */ | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment