Domanda

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?

È stato utile?

Soluzione

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";
Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top