I have the following form in my jsFiddle. I wonder if this is the best way to achieve this result.
Thank you in advance.
I am using a lot of div
s.
Being that it must have width 100% full window.
HTML
<div id="hexagon"></div> **x25**
CSS
#hexagon {
width: 30px;
height: 300px;
background: #8fc400; /* Old browsers */
background: -moz-linear-gradient(top, #8fc400 0%, #8fc400 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#8fc400), color-stop(100%,#8fc400)); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top, #8fc400 0%,#8fc400 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top, #8fc400 0%,#8fc400 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(top, #8fc400 0%,#8fc400 100%); /* IE10+ */
background: linear-gradient(to bottom, #8fc400 0%,#8fc400 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#8fc400', endColorstr='#8fc400',GradientType=0 ); /* IE6-9 */
position: relative;
float:left;
}
#hexagon:after {
content: "";
position: absolute;
bottom: -15px;
left: 0;
width: 0;
height: 0;
border-left: 15px solid transparent;
border-right: 15px solid transparent;
border-top: 15px solid #8fc400;
}