Created
January 27, 2016 17:19
-
-
Save sibaberpollo/6726d75bab0e4af0962d to your computer and use it in GitHub Desktop.
responsive Awesome Flickr Gallery
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
$ = jQuery; | |
/* Remover el width:100% inline */ | |
$(document).ready(function () { | |
$(".afg-table .afg-cell").attr("style", ""); | |
}); | |
/* Media Querys | |
@media (min-width: 768px) and (max-width: 991px) { | |
.afg-gallery .afg-cell { | |
width: 50%; | |
} | |
} | |
Awesome Flickr Gallery - Advanced Setins | |
img.afg-img { | |
width: 95%; | |
} | |
@media only screen and (min-device-width : 320px) and (max-device-width : 500px) { | |
.afg-gallery .afg-cell { | |
display: table-row !important; | |
} | |
img.afg-img { | |
width: 99%; | |
} | |
} | |
*/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment