V
V
Vladislav Boychenko2017-10-12 20:04:48
css
Vladislav Boychenko, 2017-10-12 20:04:48

Why does SASS have two syntaxes?

Good evening!
It’s already the end of 2017 and I still mastered gulps + sass, but I just can’t understand: why and why does SASS have two syntaxes? One without brackets, and the second - with them (scss is the one). I write without brackets, but if I'm looking for some code / example, I often find it with brackets, why is this option more popular?
Thank you!

Answer the question

In order to leave comments, you need to log in

3 answer(s)
B
BonBon Slick, 2017-10-12
@vladislav_boychenko

1 - It's clearer thanks to brackets
2 - scss is compatible with css. sass code if you shove it into a css file will throw an error. It makes the code easier to maintain

M
Maxim, 2017-10-12
@MaxGraph

But sass is easier :)

O
Olga Veter, 2017-10-13
@vetero4eg

and even better stylus, he generally eats everything and does not beep ...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question