I've made a hexagon container for an image, but I can't figure how to add some more smooth/curved edges on it.
I was hoping that someone could help me.
.hexagon {
position: relative;
width: 180px;
height: 103.92px;
background-color: #64C7CC;
margin: 51.96px 0;
}
.hexagon:before,
.hexagon:after {
content: "";
position: absolute;
width: 0;
border-left: 90px solid transparent;
border-right: 90px solid transparent;
}
.hexagon:before {
bottom: 100%;
border-bottom: 51.96px solid #64C7CC;
}
.hexagon:after {
top: 100%;
width: 0;
border-top: 51.96px solid #64C7CC;
}
<div class="hexagon"></div>
Thanks for your help.