Is it possible to save a media query as a variable?
This don’t work:
$max: @media (max-width: 980px) and (min-width: 768px);
I’m not looking for how to save max-width and min-width, but the whole string.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Use something like this
Then you can do something like the following: