putting media query in a mixin

vinnyband

New Member
I have many css files and many occurrences of:\[code\]@media all and (max-width: 400px), (orientation: portrait) { ....//In each file different style that relevant to the component the file represnt}\[/code\]I am using stylus.
One day my boss asked me to change that media query to:\[code\]@media all and (max-width: 400px), (max-height: 400px) { ....}\[/code\]Now I need to search all my files and replace to the new media query.Is there any option to put this media query in a mixin or something?
 
Back
Top