+ 2

Why is my code on clip path not working?[solved]

I saw the below video so I tried it but it's not working. Pls help https://youtu.be/yKYmbsrZoag https://code.sololearn.com/WBBfCcBH0oz3/?ref=app Pls helpšŸ™

11th Sep 2020, 1:57 PM
Yash ArorašŸ‡®šŸ‡³
Yash ArorašŸ‡®šŸ‡³ - avatar
6 Answers
11th Sep 2020, 2:25 PM
Bagon
Bagon - avatar
+ 2
Remove space before polygon and after , of points
11th Sep 2020, 2:46 PM
Divya Mohan
Divya Mohan - avatar
+ 2
Thanks Divya Mohan and Bagon for it
11th Sep 2020, 2:49 PM
Yash ArorašŸ‡®šŸ‡³
Yash ArorašŸ‡®šŸ‡³ - avatar
+ 1
I have remove WebKit as it is supported here And remove unnecessary space in clip-path property and here the result. . https://code.sololearn.com/WEkLF9eRrBTF/?ref=app
11th Sep 2020, 2:25 PM
Divya Mohan
Divya Mohan - avatar
+ 1
Oo Nice bagon I think It was mistake to absolute .clip šŸ˜‚šŸ˜‚šŸ¤„šŸ¤„ in .clip1 make it 0% 0%,50% 0% instead of 49% to pack perfectly. and your error was unnecessary space in clip-path property.
11th Sep 2020, 2:28 PM
Divya Mohan
Divya Mohan - avatar
0
Bagon I really don't understand the changešŸ˜…
11th Sep 2020, 2:43 PM
Yash ArorašŸ‡®šŸ‡³
Yash ArorašŸ‡®šŸ‡³ - avatar