<div class="cp_hmenuac08">
<span></span>
<span></span>
<span></span>
</div>
.cp_hmenuac08 {
position: absolute;
padding: 1.5em;
width: 40px;
cursor: pointer;
}
.cp_hmenuac08 > span {
position: relative;
display: block;
width: 100%;
height: 5px;
margin: 5px auto;
-webkit-transition: all 0.3s ease-in-out;
transition: all 0.3s ease-in-out;
border-radius: 5px;
background: #3F51B5;
}
.cp_hmenuac08:hover > span:first-of-type {
-webkit-transform: translateY(-100%);
transform: translateY(-100%);
}
.cp_hmenuac08:hover > span:last-of-type {
-webkit-transform: translateY(100%);
transform: translateY(100%);
}