Breakpoints
←With these media query helper classes you can make your containers span over less columns on smaller viewports. Make your browser windows smaller to see how the grid reflows on tablet and phone.
Classes with the breakpoint -t
will realign on tablet-like screen resolution size, -p
will do so on phone screen size. The example below will have three rows on desktop screens.
Syntax:
.span-{columns}-{breakpoint}
SCSS:
_grid-breakpoints.scss
span-2 span-4-t span-6-p
span-2 span-4-t span-6-p
span-2 span-4-t span-6-p
span-2 span-4-t span-6-p
span-2 span-4-t span-6-p
span-2 span-4-t span-6-p
span-3 span-6-t span-12-p
span-3 span-6-t span-12-p
span-3 span-6-t span-12-p
span-3 span-6-t span-12-p
↑
2 rows on desktop
4 rows on tablet
7 rows on phone