+ 1

How can I make the pictures hexagon shaped?

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

2nd Oct 2017, 7:27 AM
B.D
B.D - avatar
2 Réponses
+ 4
img { -webkit-clip-path: polygon(30% 0%, 70% 0%, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0% 70%, 0% 30%); clip-path: polygon(30% 0%, 70% 0%, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0% 70%, 0% 30%); }
2nd Oct 2017, 8:21 AM
Calviղ
Calviղ - avatar
+ 1
Thanks
2nd Oct 2017, 11:18 AM
B.D
B.D - avatar