Add PostCSS syntaxes support (#3916)

This commit is contained in:
Andrey Sitnik
2017-11-26 08:21:10 +03:00
committed by Ashe Connor
parent 7be6fb0138
commit c8ca48856b
8 changed files with 74 additions and 1 deletions

View File

@@ -0,0 +1,13 @@
@define-mixin size $size {
width: $size;
}
$big: 100px;
/* Main block */
.block {
&_logo {
background: inline("./logo.png");
@mixin size $big;
}
}

View File

@@ -0,0 +1,10 @@
@define-mixin size $size
width: $size
$big: 100px
// Main block
.block
&_logo
background: inline("./logo.png")
@mixin size $big