Frage

In less I'm using CSS math to render elipse

border-radius: 0 0 120px 120px / 0 0 12px 12px;

But less is calculating this. How to prevent it from doing it?

War es hilfreich?

Lösung

In LESS, you can let the compiler know something should be handled like a string

border-radius: ~"0 0 120px 120px / 0 0 12px 12px";
Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top