<div class="cp_hmenuac04">
<span></span>
<span></span>
<span></span>
<span></span>
</div>
.cp_hmenuac04 {
position: absolute;
padding: 1.5em;
width: 40px;
height: 20px;
cursor: pointer;
}
.cp_hmenuac04 > span {
position: absolute;
top: 50%;
left: 50%;
display: block;
width: 40px;
height: 5px;
border-radius: 5px;
-webkit-transition: all 0.5s ease-in-out;
transition: all 0.5s ease-in-out;
-webkit-transform: translate(-50%,-50%);
transform: translate(-50%,-50%);
background: #EC407A;
}
.cp_hmenuac04 > span:nth-child(1) {
-webkit-transition: all 0.2s ease-in-out;
transition: all 0.2s ease-in-out;
-webkit-transform: translate(-50%,-50%) translateY(-10px);
transform: translate(-50%,-50%) translateY(-10px);
}
.cp_hmenuac04 > span:nth-child(4) {
-webkit-transition: all 0.2s ease-in-out;
transition: all 0.2s ease-in-out;
-webkit-transform: translate(-50%,-50%) translateY(10px);
transform: translate(-50%,-50%) translateY(10px);
}
.cp_hmenuac04:hover > span:nth-child(1) {
-webkit-transition: all 0.3s ease-in-out;
transition: all 0.3s ease-in-out;
-webkit-transform: translate(-50%,-50%) translateY(-35px);
transform: translate(-50%,-50%) translateY(-35px);
opacity: 0;
}
.cp_hmenuac04:hover > span:nth-child(4) {
-webkit-transition: all 0.3s ease-in-out;
transition: all 0.3s ease-in-out;
-webkit-transform: translate(-50%,-50%) translateY(35px);
transform: translate(-50%,-50%) translateY(35px);
opacity: 0;
}
.cp_hmenuac04:hover > span:nth-child(2) {
-webkit-transition: all 0.5s ease-in-out;
transition: all 0.5s ease-in-out;
-webkit-transform: translate(-50%,-50%) rotate(40deg);
transform: translate(-50%,-50%) rotate(40deg);
}
.cp_hmenuac04:hover > span:nth-child(3) {
-webkit-transition: all 0.5s ease-in-out;
transition: all 0.5s ease-in-out;
-webkit-transform: translate(-50%,-50%) rotate(-40deg);
transform: translate(-50%,-50%) rotate(-40deg);
}