How to create a SASS (SCSS) mixin for responsive design

Photo by Taras Shypka on Unsplash

Despite CSS evolving and CSS-in-JS solutions becoming very popular, SCSS is still a very powerful styling solution for responsive web applications, especially when paired with css-modules.

Several studies show that most of the web traffic already comes from mobile devices and this number will continue to grow. This of course varies depending on your website or web…