Skip to content

Commit 2720040

Browse files
committed
feat: added media query mixins
1 parent f05d31c commit 2720040

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

src/assets/mixins.scss

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,3 +171,15 @@
171171
flex: 1 1 auto;
172172
}
173173
}
174+
175+
@mixin media_lt($amount) {
176+
@media (max-width: $amount) {
177+
@content;
178+
}
179+
}
180+
181+
@mixin media_gt($amount) {
182+
@media (min-width: $amount) {
183+
@content;
184+
}
185+
}

0 commit comments

Comments
 (0)