on-internet
← Community

Intergrate a partial that is dedicated to site responsivness through media querries

Stack Overflow ·

I separated my media queries from my main SCSS file into a mixin in a partial. The partial is called _responsiveness-media-queries. The media queries aren't rendering; I have a feeling it's due to how I'm calling my mixin. Is there a different way of calling my mixins outside of a selector? F FYI: I used @import to link the partial to the main SCSS file. SCSS said that @import is outdated. This is the code I currently have //partial @mixin responsive-laptop($laptop){ @media(max-width: $laptop){ @content } }; @mixin responsive-regular-tablet($regular-tablet-width){ @media(max-width: $regular-ta

Comments

Sign in or sign up to comment and upvote.

No comments yet.