+ 1
Is there anyway to create Hexagon using HTML and CSS?
I try triangles, But I haven't idea how to create Hexagon.. Can anyone give some idea to help me for that?
7 Réponses
+ 5
Using svg but polyline ,I really can't understand the example Calvin provide,with path it looks extremely complicated lol
+ 5
+ 2
Why dont you create 3 div 1 rectangle 1 for top triangle and 1 one bottom triangle
+ 2
You can fake it with gradient backgrounds.
http://cssdeck.com/labs/css-shapes-with-gradients
+ 2
Abhay I used https://editor.method.ac to draw, and modified the svg code.
+ 2
Thank you all