Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
16 lines (14 sloc) 412 Bytes
// CSS grid media queries
// Breakpoint helpers
@media #{$tablet} {
[class*="grid"].collapse-t { grid-template-columns: 1fr; }
@for $i from 3 through 12 {
[class*="grid"] > .span-#{$i}-t { grid-column: span #{$i} }
}
}
@media #{$phone} {
[class*="grid"].collapse-p { grid-template-columns: 1fr; }
@for $i from 6 through 12 {
[class*="grid"] > .span-#{$i}-p { grid-column: span #{$i} }
}
}