Y
Y
Yuriy2017-01-24 12:10:25
Less
Yuriy, 2017-01-24 12:10:25

Escaping in less?

There is a variable
@path: ~"../images";
There is an insertion of this variable
background:url("@{path}/abrakadabra.png");
I collect I
gulp less
get a CSS
background:url("images/abrakadabra.png");
question, where did the DOT and SLASH go ?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
Y
Yuriy, 2017-01-24
@yous

did so
background:url(~"../@{path}/abrakadabra.png");

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question