Hover Gradient Animated Button #95
CSS Hover Gradient animated 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-95 {
background-color: #b66565;
border-radius: 4px;
color: #fff;
cursor: pointer;
padding: 13px 30px;
font-size: 18px;
font-weight: bold;
letter-spacing: 1px;
border: none;
font-family: Arial, Helvetica, sans-serif;
text-decoration: none;
user-select: none;
display: inline-block;
/*** full width block ***/
/* width: 100%; */
}
.btn-95:hover {
background-image: linear-gradient(90deg, #53cbef 0%, #dcc66c 50%, #ffa3b6 75%, #53cbef 100%);
animation: move_95 5s linear infinite;
color: #000;
}
@keyframes move_95 {
100% {
background-position: 20vw;
}
}
/*** disabled style ***/
.btn-95:disabled {
pointer-events: none;
opacity: .65;
color: #7e7e7e;
background: #dcdcdc;
box-shadow: none;
}