Why isn't clip-path:path('') working ? [Solved] | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
+ 1

Why isn't clip-path:path('') working ? [Solved]

https://code.sololearn.com/WCD3J2gdlp5T/?ref=app

13th Mar 2021, 10:07 PM
Abhay
Abhay - avatar
6 ответов
+ 2
because path() function for clip-path property seems only supported in earlier versions firefox, sometimes with a flag to be enabled ^^ you should rely on polygon() wich seems have better support (including IE!)... https://css-tricks.com/an-initial-implementation-of-clip-path-path/
13th Mar 2021, 10:34 PM
visph
visph - avatar
+ 1
why your question is "why isn't clip-path() working?" so? anyway, for me it is not working at least on android webview (sololearn app')... nor samsung internet browser ^^
13th Mar 2021, 10:46 PM
visph
visph - avatar
+ 1
you mean it's working for you in android chrome but not in sololearn app'? probably webview in sololearn (I believe chrome use it too) doesn't enable all flags that chrome does (ie: as it is for webstorage)...
14th Mar 2021, 12:06 AM
visph
visph - avatar
0
visph that is working for me.Weird i have chrome browser where it is working and on sololearn it doesn't !.
13th Mar 2021, 10:42 PM
Abhay
Abhay - avatar
0
visph it is not working on sololearn as i said and my question is right . But that works for me the "clip-path" that shows a heart on chrome (Android browser) and i believe that is the browser used for sololearn as well (correct me if i am wrong) . It is really weird . Anyway ,you are right (i had already went through that link and forgot to add about it in description), i will post another question about it now i guess. And thank you as always :)
14th Mar 2021, 12:01 AM
Abhay
Abhay - avatar
0
Yes,and that's sounds right if i think about it now , ty again . for some reason this app won't let me mark your answer as best.
14th Mar 2021, 12:09 AM
Abhay
Abhay - avatar