1
0
Fork 0
mirror of https://gitlab.com/Oreolek/salet.git synced 2024-07-07 01:04:25 +03:00
salet/sass/_mixins.scss
Alexander Yakovlev b3f71f4c7b no animate.css CDN style
Most people won't redefine CSS transitions.
2016-09-26 15:40:54 +07:00

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;
}