Last active
December 23, 2024 11:03
-
-
Save aurelkurtula/6273174 to your computer and use it in GitHub Desktop.
st:sass:mediaquerys
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@mixin breakpoint($point) { | |
@if $point == alpha { | |
@media (max-width: 1000px) { @content; } | |
} | |
@else if $point == beta { | |
@media (max-width: 1250px) { @content; } | |
} | |
@else if $point == gamma { | |
@media (max-width: 710px) { @content; } | |
} | |
@else if $point == delta { | |
@media (max-width: 710px) { @content; } | |
} | |
@else{ | |
@media (max-width: $point) { @content; } | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment