global and media-queries styles sheets

This commit is contained in:
2020-01-22 17:18:06 +01:00
parent 976d3de397
commit cf9bc6aa57
2 changed files with 47 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
$phone-xs-width: 480px;
$tablet-p-width: 768px;
$tablet-l-width: 1024px;
$desktop-width: 1200px;
$desktop-l-width: 1600px;
$mobile-width: 768px;
@mixin desktop {
@media (min-width: #{$mobile-width + 1px}) {
@content;
}
}
@mixin mobile {
@media (max-width: #{$mobile-width}) {
@content;
}
}