This commit is contained in:
julliechaumard
2023-02-28 01:15:30 +01:00
parent e09ebe2d92
commit dd49ba357b
151 changed files with 17859 additions and 0 deletions

View File

@@ -0,0 +1,23 @@
$breakpoints: (
"phone": 600px,
"desktop": 1200px
);
@mixin media_min($key) {
@media (min-width: map-get($breakpoints,$key)) {
&{ @content; }
}
}
@mixin media_max($key) {
@media (max-width: map-get($breakpoints,$key)) {
&{ @content; }
}
}
@mixin media_minmax($key_min, $key_max) {
@media (min-width: map-get($breakpoints,$key_min)) and (max-width: map-get($breakpoints,$key_max)) {
&{ @content; }
}
}