hugo-blog/themes/eddie/assets/scss/_mixins.scss

29 lines
372 B
SCSS
Raw Permalink Normal View History

2022-08-16 20:42:05 +00:00
@mixin mobile-xs{
@media(max-width:400px){
@content;
}
}
@mixin mobile{
@media(max-width:575px){
@content;
}
}
@mixin tablet{
@media(max-width:767px){
@content;
}
}
@mixin desktop{
@media(max-width:991px){
@content;
}
}
@mixin desktop-lg{
@media(max-width:1200px){
@content;
}
}
@mixin size($size){
width: $size; height: $size;
}