After accumulating multiple CSS files, I've noticed many instances of:
@media all and (max-width: 400px), (orientation: portrait) {
....//Different styles relevant to each component in the respective file
}
Working with Stylus has been my method.
One day, my boss instructed me to modify that media query to:
@media all and (max-width: 400px), (max-height: 400px) {
....
}
Now, I have the task of scouring through all my files and implementing this new media query.
I'm wondering if there's a way to incorporate this media query into a mixin or another solution?