D
D
Dar1a2018-07-31 08:13:58
css
Dar1a, 2018-07-31 08:13:58

Is it possible to remove blocks through conditions in the sass preprocessor?

For example, I have some page with two div blocks one after the other in a line, the page width is 1000px, is it possible to set a condition in the preprocessor so that when the window width changes (narrowing) one of the blocks disappears?
Or is it only through js?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vitaly, 2018-07-31
@Dar1a

are used for this

@media
requests
preprocessors - this is a CSS preprocessor, the browser understands CSS, not LESS/SASS

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question