<div class="layout">
        <div class="honeycomb"></div>
    </div>
*,
*::before,
*::after {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

html {
    font-size: 62.5%;
    font-family: 'lato';
}

body {
    
    background: #eee;
}

.layout {
    width: 100%;
    height: 100vh;
    border: solid gray 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.honeycomb {
    width: 57px;
    height: 100px;
    background-color: #3d3d3d;
    position: relative;
    transform: rotate(90deg);
    transition: all .2s;
}

.honeycomb::before {
    content: "";
    display: block;
    border-right: solid #3d3d3d 28px;
    border-top: solid transparent 50px;
    border-bottom: solid transparent 50px;
    position: absolute;
    left: -27.5px;
    top: 0px;
    transition: all .2s;
}

.honeycomb::after {
    content: "";
    display: block;
    border-right: solid #3d3d3d 28px;
    border-top: solid transparent 50px;
    border-bottom: solid transparent 50px;
    position: absolute;
    left: 56px;
    transform: scaleX(-1);
    transition: all .2s;
}

.honeycomb:hover::after,
.honeycomb:hover::before {
    border-right: solid #FFAE1A 28px;
    transition: all .2s;
}

.honeycomb:hover {
    background: #FFAE1A;
    transition: all .2s;
}

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.