Custom Breakpoints
Redesign Webflow's CSS file for custom breakpoints
Webflow offers 7 breakpoints for design.
From largest to smallest, they are;
1920px >= 1920px
1440px >= 1440px
1280px >= 1280px
Desktop (base) from 992px to 1279px
Tablet <= 991px
Mobile landscape <= 727px
Mobile portrait <= 478px
? Internal name
? Interactions
By default, the largest 3 breakpoints only exist if you add them, or if you are using a template that has added them.
Remember also how breakpoints work-
Desktop (base): styles apply to all devices unless overridden at other device breakpoints
Which is essential for understanding layout and styling techniques.
https://university.webflow.com/lesson/intro-to-breakpoints
Goals
Fix bug relating to one of the boundaries, as default
Rewrite all @media min-width and max-width settings with custom breakpoints
Also store the breakpoints as CSS vars for custom CSS use
Notes;
Requires un-minified CSS? Test.
CONFIG
Initializes a range of
https://assets.sygnal.com/59b8d49f7fdf9700017d780f/css/sygnal.6442ac1d6.css
In CSS, you cannot directly store the min-width
media query in a CSS variable, as media queries are not part of the CSS property-value system and thus cannot be assigned to variables. However, you can store the width value itself in a CSS variable and use it in various places, but the media query syntax itself will need to be written out each time.
Last updated