<button class="cp_button11">button</button>
.cp_button11 {
display: flex;
justify-content: center;
align-items: center;
width: 160px;
margin: 0.4em;
padding: 1em;
cursor: pointer;
text-decoration: none;
color: #ec407a;
background: transparent;
border: 1px solid #ec407a;
border-radius: 0;
box-shadow: 0 0 1px rgba(0, 0, 0, 0);
transition: background-color 0.3s;
transform: translateZ(0);
}
.cp_button11:before {
position: absolute;
top: -16px;
right: -16px;
bottom: -16px;
left: -16px;
content: '';
border: 4px solid rgba(236,64,122,0.5);
transition-duration: 0.3s;
transition-property: top right bottom left;
opacity: 0;
}
.cp_button11:hover:before {
top: -8px;
right: -8px;
bottom: -8px;
left: -8px;
opacity: 1;
}
.cp_button11:active {
color: #ffffff;
background-color: #ec407a;
}
.cp_button11:active:before {
top: -17px;
right: -17px;
bottom: -17px;
left: -17px;
}
.cp_button11:hover,
.cp_button11:focus {
color: #ec407a;
border: 1px solid #ec407a;
}