Hover Animated Border Button #178
CSS Hover animated border button
Adding these style CSS buttons to your website is easier than you think. Simply copy and paste the CSS code provided with each button design into your stylesheet
Preview Button Style
You can view the default style of buttons, the disabled state mode style of buttons, and the full-width block style of the button here. Some buttons style may not display in full width format
Button Source Code HTML and CSS
Click the button below to download the source code or edit it live.
To copy this click on the icon at the top right of the code box
.btn-178 {
position: relative;
text-align: center;
font-size: 16px;
color: #006eff;
padding: 12px 15px;
border-radius: 10px 3px 10px 3px;
font-family: Arial, Helvetica, sans-serif;
cursor: pointer;
text-decoration: none;
user-select: none;
display: inline-flex;
justify-content: center;
align-items: center;
font-weight: bold;
border: solid 2px #006eff;
background: none;
/*** full width block ***/
/* width: 100%; */
}
.btn-178:hover {
animation: .8s animate_178 ease infinite;
}
@keyframes animate_178 {
0% {
border-radius: 10px 30px 10px 30px;
}
50% {
border-radius: 30px 10px 30px 10px;
}
100% {
border-radius: 10px 30px 10px 30px;
}
}
/*** disabled style ***/
.btn-178:disabled {
pointer-events: none;
opacity: .65;
color: #7e7e7e;
background: #dcdcdc;
box-shadow: none;
text-shadow: none;
border: solid 2px #7e7e7e;
}