mirror of
https://gitlab.com/Oreolek/salet.git
synced 2024-07-07 01:04:25 +03:00
25 lines
577 B
SCSS
25 lines
577 B
SCSS
@mixin halfcolumn() {
|
|
@media (min-width: breakpoint-min(sm)) {
|
|
@include make-col(6);
|
|
}
|
|
@media (max-width: breakpoint-max(xs)) {
|
|
@include make-col(12);
|
|
}
|
|
}
|
|
@mixin col($sm-width, $xs-width) {
|
|
@media (min-width: breakpoint-min(sm)) {
|
|
@include make-col($sm-width);
|
|
}
|
|
@media (max-width: breakpoint-max(xs)) {
|
|
@include make-col($xs-width);
|
|
}
|
|
}
|
|
@mixin prefix($property, $value, $prefixes: ()) {
|
|
@each $prefix in $prefixes {
|
|
#{'-' + $prefix + '-' + $property}: $value;
|
|
}
|
|
|
|
// Output standard non-prefixed declaration
|
|
#{$property}: $value;
|
|
}
|