D
D
Denis Bukreev2016-06-28 21:41:26
css
Denis Bukreev, 2016-06-28 21:41:26

How to ignore code in stylus preprocessor?

So it goes.
I remember that in less there is a way that allows you to ignore a section of code and the preprocessor will not process it - it will be displayed in CSS as it is.
Is it possible to do this in stylus?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
Денис Букреев, 2016-06-28
@denisbookreev

Нашел.
Надо использовать такую конструкцию:

@css {
  css
}

т.е. оборачиваем игнорируемый код в @css {}

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question