In SCSS, we can define variables and mixins that can be used anywhere in the project, including @media queries. I store them in an SCSS folder, separated into files whose variables serve different purposes. For example, mixins, breakpoints, and colors are stored in the _colors.scss folder.

4m read timeFrom levelup.gitconnected.com
Post cover image
Table of contents
How I manage my CSS/SCSS propertiesWhy?Global CSS variablesSCSS variables, mixins & width breakpointsUsing @use 🇺Usage in @media queries: responsive width breakpointsConclusion
1 Comment

Sort: