Last active
August 29, 2015 13:58
-
-
Save davidpaulsson/10101985 to your computer and use it in GitHub Desktop.
Revisions
-
davidpaulsson revised this gist
Apr 8, 2014 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -7,7 +7,7 @@ img { height: auto; } /* Non-fluid images if you specify `width` and/or `height` attributes. */ img[width], img[height]{ max-width: none; -
davidpaulsson revised this gist
Apr 8, 2014 . 1 changed file with 11 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -2,6 +2,17 @@ * CSS needed for https://gist.github.com/davidpaulsson/10101172 */ img { max-width: 100%; height: auto; } // Non-fluid images if you specify `width` and/or `height` attributes. img[width], img[height]{ max-width: none; } .lazy { display: none; } -
davidpaulsson created this gist
Apr 8, 2014 .There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,15 @@ /* * CSS needed for https://gist.github.com/davidpaulsson/10101172 */ .lazy { display: none; } .image-container img { position: absolute; top: 0; left: 0; width: 100%; background-color: black; }