We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 48452f5 commit 75ed53dCopy full SHA for 75ed53d
css/scss/_variables.scss
@@ -14,4 +14,22 @@ $dark-blue: #005499;
14
font-family: $font;
15
font-size: em($size);
16
font-weight: $weight;
17
+}
18
+
19
+@mixin device($size) {
20
+ @if $size == medium {
21
+ @media only screen and (max-width: 768px) {
22
+ @content;
23
+ }
24
25
+ @else if $size == small {
26
+ @media only screen and (max-width: 550px) {
27
28
29
30
+ @else {
31
+ @media only screen and (max-width: $size) {
32
33
34
35
}
0 commit comments