Hexa shape button
<link href="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css">
<script src="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/js/bootstrap.min.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<!------ Include the above in your HEAD tag ---------->
<div id="home_quicklinks">
<a class="quicklink link1" href="#">
<span class="ql_caption">
<span class="outer">
<span class="inner">
<h2>Member</h2>
</span>
</span>
</span>
<span class="ql_top"></span>
<span class="ql_bottom"></span>
</a>
<a class="quicklink link2" href="#">
<span class="ql_caption">
<span class="outer">
<span class="inner">
<h2>Event</h2>
</span>
</span>
</span>
<span class="ql_top"></span>
<span class="ql_bottom"></span>
</a>
<a class="quicklink link3" href="#">
<span class="ql_caption">
<span class="outer">
<span class="inner">
<h2>Gallery </h2>
</span>
</span>
</span>
<span class="ql_top"></span>
<span class="ql_bottom"></span>
</a>
<div class="clear"></div>
</div>
<div class="hexagon">
<div class="hexTop"></div>
<div class="hexBottom"></div>
</div>
#home_quicklinks {
padding: 20px 0;
text-align: center;
}
a.quicklink.link1 {
background: #fc6719;
}
a.quicklink {
display: inline-block;
width: 302px;
height: 173px;
position: relative;
margin: 90px 30px;
}
a.quicklink .ql_caption {
display: block;
height: 100%;
width: 100%;
position: relative;
}
.outer {
display: table;
position: relative;
vertical-align: middle;
text-align: center;
height: 100%;
width: 100%;
border-spacing: 0px;
padding: 0px;
}
.inner {
display: table-cell;
position: relative;
vertical-align: middle;
text-align: center;
height: 100%;
width: 100%;
border-spacing: 0px;
padding: 0px;
}
a.quicklink .ql_caption h2 {
margin: 0px;
padding: 0px;
text-transform: uppercase;
line-height: 1.46em;
color: #fff;
}
a.quicklink.link1 .ql_top {
border-bottom-color: #fc6719;
}
a.quicklink.link1 .ql_bottom {
border-top-color: #fc6719;
}
.ql_top {
bottom: 173px;
border-bottom: 89px solid #ccc;
}
.ql_bottom {
top: 173px;
border-top: 89px solid #ccc;
}
.ql_top, .ql_bottom {
position: absolute;
left: 0px;
width: 0px;
border-left: 151px solid transparent;
border-right: 151px solid transparent;
}
a.quicklink.link2 {
background: #fcf4e7;
}
a.quicklink.link2 .ql_top {
border-bottom-color: #fcf4e7;
}
a.quicklink.link2 .ql_bottom {
border-top-color: #fcf4e7;
}
a.quicklink.link3 .ql_top {
border-bottom-color: #bcbdc0;
}
a.quicklink.link3 .ql_bottom {
border-top-color: #bcbdc0;
}
a.quicklink.link3 {
background: #bcbdc0;
}
a.quicklink {
font-size: 36px;
font-weight: 500;
text-decoration:none;
}
.hexagon {
position: relative;
width: 300px;
height: 173.21px;
margin: 86.60px 0;
background-image: url(https://csshexagon.com/img/meow.jpg);
background-size: auto 334.8632px;
background-position: center;
box-shadow: 0 0 20px rgba(0,128,192,0.6);
border-left: solid 5px #4a401c;
border-right: solid 5px #4a401c;
}
.hexTop,
.hexBottom {
position: absolute;
z-index: 1;
width: 212.13px;
height: 212.13px;
overflow: hidden;
-webkit-transform: scaleY(0.5774) rotate(-45deg);
-ms-transform: scaleY(0.5774) rotate(-45deg);
transform: scaleY(0.5774) rotate(-45deg);
background: inherit;
left: 38.93px;
box-shadow: 0 0 20px rgba(0,128,192,0.6);
}
/*counter transform the bg image on the caps*/
.hexTop:after,
.hexBottom:after {
content: "";
position: absolute;
width: 290.0000px;
height: 167.4315780649915px;
-webkit-transform: rotate(45deg) scaleY(1.7321) translateY(-83.7158px);
-ms-transform: rotate(45deg) scaleY(1.7321) translateY(-83.7158px);
transform: rotate(45deg) scaleY(1.7321) translateY(-83.7158px);
-webkit-transform-origin: 0 0;
-ms-transform-origin: 0 0;
transform-origin: 0 0;
background: inherit;
}
.hexTop {
top: -106.0660px;
border-top: solid 7.0711px #4a401c;
border-right: solid 7.0711px #4a401c;
}
.hexTop:after {
background-position: center top;
}
.hexBottom {
bottom: -106.0660px;
border-bottom: solid 7.0711px #4a401c;
border-left: solid 7.0711px #4a401c;
}
.hexBottom:after {
background-position: center bottom;
}
.hexagon:after {
content: "";
position: absolute;
top: 2.8868px;
left: 0;
width: 290.0000px;
height: 167.4316px;
z-index: 2;
background: inherit;
}
,The author is Biplab01198





