문제

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