Created
February 20, 2020 15:00
-
-
Save nilsmehlhorn/2f204298710c668120c05b15c025d51e to your computer and use it in GitHub Desktop.
Variables for (S)CSS MediaQueries on Material breakpoints
This file contains 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
$mat-lt-sm: "(max-width: 599px)"; | |
$mat-lt-md: "(max-width: 959px)"; | |
$mat-lt-lg: "(max-width: 1279px)"; | |
$mat-lt-xl: "(max-width: 1919px)"; | |
$mat-gt-xs: "(min-width: 600px)"; | |
$mat-gt-sm: "(min-width: 960px)"; | |
$mat-gt-md: "(min-width: 1280px)"; | |
$mat-gt-xl: "(min-width: 1920px)"; | |
$mat-xs: $mat-lt-sm; | |
$mat-sm: $mat-gt-xs and $mat-lt-md; | |
$mat-md: $mat-gt-sm and $mat-lt-lg; | |
$mat-lg: $mat-gt-md and $mat-lt-xl; | |
$mat-xl: $mat-gt-xl; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment