## Stacking
-A button group can be made vertical with the `.stacked` class. Or, you can use `.stacked-for-small` to only stack a button group on small screens.
+A button group can be made vertical with the `.stacked` class. You can also use `.stacked-for-small` to only stack a button group on small screens, or `.stacked-for-medium` to only stack on small and medium screens.
```html_example
<div class="stacked-for-small button-group">
}
&.stacked,
- &.stacked-for-small {
+ &.stacked-for-small,
+ &.stacked-for-medium {
@include button-group-stack;
}
@include button-group-unstack;
}
}
+
+ &.stacked-for-medium {
+ @include breakpoint(large) {
+ @include button-group-unstack;
+ }
+ }
}
}