How to make different geometrical shapes using CSS? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 9

How to make different geometrical shapes using CSS?

28th Sep 2017, 2:46 AM
Anikin Skywalker
Anikin Skywalker - avatar
2 Answers
+ 4
Ummmm try -webkit-clip-path:polygon(); or -webkit-clip-path:url(#theIdOfSvg that you draw custom shape) property //warning: only try in chrome
28th Sep 2017, 2:51 AM
Yanothai Chaitawat
Yanothai Chaitawat - avatar
0
If you don't want to be tied down to webkit-based browsers, check out: https://www.w3schools.com/howto/howto_css_shapes.asp
13th Jun 2018, 10:08 AM
Janningā­
Janningā­ - avatar