postcss / postcss-simple-vars

PostCSS plugin for Sass-like variables

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

add new function

ILFront-End opened this issue · comments

can you add support for this pattern:
$borderDirection: top;
.border-#{$borderDirection} {
border-#{$borderDirection}: 1px solid #ccc;
}

Nope, becase { and } symbols is used in CSS syntax. So regular CSS parser (like PostCSS standard parser) wil not be able to parse it.

Why you need this syntax?