breakpoint-sass-mixins
Media query breakpoint mixins for Sass.
Variables
There are already predefined breakpoints in pixels. If necessary, you can of course use your own breakpoints here, even in a different unit such as REM
;
Mixins
There are two mixins to write media queries with either min-width
or max-width
.
.container
Functions
There are also helper functions to find out whether it is the first or last breakpoint. These must be handled separately, as a media query may not make sense. For example, you do not need a media query for min-width > 0
; // true ; // true ; // medium
Made with ❤ in Bielefeld