Skip to content

Instantly share code, notes, and snippets.

@AaronRutley
Created March 18, 2015 15:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save AaronRutley/b83a811188d988f33b38 to your computer and use it in GitHub Desktop.
Save AaronRutley/b83a811188d988f33b38 to your computer and use it in GitHub Desktop.
Slick Responsive Photo Gallery with Sass - Example Sass
.gallery-7-up {
.image-1-of-7 {
@include gallery_grid($whole,$third,$third);
}
.image-2-of-7, .image-3-of-7 {
@include gallery_grid($half,$third,$third);
}
.image-4-of-7, .image-5-of-7, .image-6-of-7, .image-7-of-7 {
@include gallery_grid($half,$quater,$quater);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment