14 lines
239 B
SCSS
14 lines
239 B
SCSS
|
@mixin constrain-width {
|
||
|
margin: auto;
|
||
|
transition: 0.5s width;
|
||
|
width: $large-breakpoint;
|
||
|
|
||
|
@media (max-width: $large-breakpoint) {
|
||
|
width: $medium-breakpoint;
|
||
|
}
|
||
|
|
||
|
@media (max-width: $medium-breakpoint) {
|
||
|
width: 95%;
|
||
|
}
|
||
|
}
|