mirror of
https://git.adityakumar.xyz/blog.git
synced 2024-11-14 20:49:44 +00:00
24 lines
368 B
SCSS
24 lines
368 B
SCSS
|
@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;
|
||
|
}
|
||
|
}
|