Вопрос

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?

Это было полезно?

Решение

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";
Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top