0

How to draw an hexagon in CSS

29th May 2020, 12:59 PM
Md.Estiak Ahmed
Md.Estiak Ahmed - avatar
2 odpowiedzi
+ 2
Just use this😉 // HTML <div class="hexagon"></div>// CSS .hexagon { position: relative; width: 500px; height: 288.68px; background: #CD5C5C; margin: 144px auto; } Your hexagon will be created Rock the code 🤟🤟
29th May 2020, 1:06 PM
Piyush
Piyush - avatar