Question

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?

Was it helpful?

Solution

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";
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top