So, the super-helpful 'gallery' mixin in susy2 uses the nth-child selector, which doesn't work in IE8. So what's a good workaround?
I was thinking of extending the gallery mixin and adding ie8-specific styles. Is that possible with susy?
Here's my sass code, if it helps:
.grid_gallery li.slide {
@include gallery(12 of 24); //2 across
margin-bottom: gutter(24);
@include breakpoint(600px) {
@include gallery(6 of 24); //4 across
}
@include breakpoint(769px) {
@include gallery(4.8 of 24); //5 across
}
@include breakpoint(1200px) {
@include gallery(4 of 24); //6 across
}
}
Here's a Gist to see this SASS (simplified) converted to css: http://sassmeister.com/gist/59927698cfbba6fadbf5
Here's the look I'm going for: