Answer the question
In order to leave comments, you need to log in
How to make stylus friends with postcss-inline-media?
I'm trying to set up compilation of styles through Gulp. I'm using a plugin to write media queries right in the main styles. It looks like this:
header {
margin: 25 50 @(max-width: 80px) 20 30;
}
@css {
header {
margin: 25 50 @(max-width: 80px) 20 30;
}
}
But it indents after the character.
header {
margin: 25 50 \@\(max-width\: 80px\) 20 30;
}
The plugin does not pick up =(
header {
margin: 25 50 @ ( max-width : 80px ) 20 30;
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question