A
A
Alexander Sharomet2016-09-23 20:15:51
Programming
Alexander Sharomet, 2016-09-23 20:15:51

Why doesn't gulp-sass compile shorthand?

Hello.
I have such a problem. Shorthand styles like this don't compile to gulp-sass
body
padding:10px 0
You only have to write
body
padding-top:10px
padding-bottom:10px
......
How can I fix this? Thank you.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
N
NoMoney, 2016-09-23
@sharomet

He shouldn't. Browser
padding: 10px 0; is equivalent to padding-top: 10px; padding-bottom: 10px padding-right: 0; padding-left:0;

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question