blog/assets/sass/_common/_utils.scss

24 lines
368 B
SCSS
Raw Normal View History

2022-03-11 05:02:10 +00:00
@mixin clearfix() {
&:before,
&:after {
content: " ";
display: table;
}
&:after {
clear: both;
}
}
@mixin min-screen($min-width: $global-body-width) {
@media screen and (min-width: $min-width) {
@content;
}
}
@mixin max-screen($max-width: $global-body-width) {
@media screen and (max-width: $max-width) {
@content;
}
}