6
6
655362015-11-11 22:10:27
Less
65536, 2015-11-11 22:10:27

Is it possible to somehow name a selector from a variable in Less?

Here is the desired and broken construction:

@selector: #abc;

@selector {
    ...
}

Answer the question

In order to leave comments, you need to log in

1 answer(s)
6
65536, 2015-11-12
@65536

I figured it out, here is the answer stackoverflow.com/questions/15777257/using-variabl...
If anyone is interested, it did not work for me because I used https://github.com/leafo/lessphp , which seems to be bent
replaced with https ://github.com/oyejorge/less.php , everything plows, I didn’t even have to rewrite anything, the calls are the same

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question