Answer the question
In order to leave comments, you need to log in
Stylus, Atom and Gulp Compatible at all?
As they already got me with ... and poltergeists in the code, I have no more strength, I AM FUCKED!!
gulp4 + gulp-stylus +
atom
media-query(minWidth)
result = (minWidth / 16)em
@media all and (min-width: result)
{block}
.block
width 100px
+media-query(500px)
color #000
font-weight normal
.block {
width: 100px;
}
@media all and (min-width: 31.25em) {
.block {
color: #000;
font-weight: normal;
}
}
{block}
. i.e. at the output I get this.block {
width: 100px;
}
@media all and (min-width: 31.25em) {
}
Answer the question
In order to leave comments, you need to log in
The solution was found, carefully look at the code that you copy-paste, the document should contain TAB indents or spaces, in no case should you combine spaces with tabs, if you overlooked it somewhere, there will be this type of error
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question