JSFiddle - React, Tailwind, and code Playground

by Ayri Rin

HTML

<div class="hexagon"></div>

CSS

.hexagon {
	width: 100%;
	height: 640px;
background: #f8f8f8; /* Old browsers */
    background: -moz-linear-gradient(top,  #f8f8f8 0%, #ffffff 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#fb3854), color-stop(100%,#ffffff)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  #f8f8f8 0%, #ffffff 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  #f8f8f8 0%, #ffffff 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  #f8f8f8 0%, #ffffff 100%); /* IE10+ */
    background: linear-gradient(to bottom,  #f8f8f8 0%, #ffffff 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f8f8f8', endColorstr='#ffffff',GradientType=0 ); /* IE6-9 */
	position: relative;
}

.hexagon:after {
	content: "";
	position: absolute;
	bottom: -25px;
	left: 0;
	width: 0;
	height: 0;
	border-left: 600px solid transparent;
	border-right: 600px solid transparent;
	border-top: 180px solid #f8f8f8;
}