Answer the question
In order to leave comments, you need to log in
Why does stylus generate css incorrectly (skips; etc)?
there is a code:
STYLUS
body
background #eee
#one
width 150px
height 150px
background red
@media print
display none
#two
width 100px
@media print
display none
body{
background: #eee;
}
#one{
width: 150px;
height: 150px;
background: red // не случайно пропустил ; stylus пропускает часто..
}
#two{
width: 100px // тоже пропускает часто ;
}
@media print{
#one{
display: none;
}
}
@media print{
#two{
display: none // и тут пропустил ещё ;
}
}
Answer the question
In order to leave comments, you need to log in
If something is not generated correctly from stylus to css, then either you have errors (syntax, etc.), or these are generator jambs. How do you generate css from stylus?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question