<a href="#" class="cp_btn">button</a>
a.cp_btn {
position: relative;
display: block;
width: 160px;
padding: 0.8em;
text-align: center;
font-weight: bold;
text-decoration: none;
color: #FF9800;
transition: .4s;
}
a.cp_btn:before,
a.cp_btn:after {
position: absolute;
left: 0;
content: '';
width: 100%;
height: 4px;
border-radius: 3px;
background:#FF9800;
transition: .4s;
}
a.cp_btn:before{
top:100%;
}
a.cp_btn:after{
top:0;
}
a.cp_btn:hover:before {
top: calc(100% - 3px);
}
a.cp_btn:hover:after {
top: 3px;
}