+ 3
Why isn't the clip path working in this code?
4 Respuestas
+ 6
clip-path:circle(0.3% at 0 100%);
Its not working because the blank space between "0.3%" and "at" and between "0" and "100%" is not a space
If you print their character code using js it will show 160 but the character code of a space is 32
This maybe had occurred because you are using a virtual keyboard as you can't get the key code of keys of keyboard using js if you're using a virtual keyboard it always return 160
try removing that blank space and put an actual space between them it will work
+ 3
Here's the fix:
https://code.sololearn.com/WrMqoc3QXTvD/?ref=app
As Arnav Kumar [📕Schools📚] suggested, I removed the space and edited it again, and it worked.
**You can change the values later
+ 3
Thanks Arnav Kumar [📕Schools📚] Kêsh@v
🤗
0
محمد