Rainbow Color Glowing Animated Button #79
CSS hover rainbow color glowing animated background 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-79 {
position: relative;
padding: 15px 25px;
font-size: 14px;
font-family: Arial, Helvetica, sans-serif;
display: inline-block;
text-align: center;
color: #000;
text-transform: uppercase;
text-decoration: none;
box-sizing: border-box;
border: none;
border-radius: 5px;
z-index: 1;
user-select: none;
cursor: pointer;
background: linear-gradient(90deg, #f00, #ff0, #0f0, #0ff, #00f, #f0f);
background-size: 400%;
font-weight: bold;
/*** full width block ***/
/* width: 100%; */
}
.btn-79:hover {
animation: animate_79 8s linear infinite;
}
@keyframes animate_79 {
0% {
background-position: 0%;
}
100% {
background-position: 400%;
}
}
.btn-79:before {
content: "";
position: absolute;
top: -5px;
right: -5px;
bottom: -5px;
left: -5px;
z-index: -1;
background: linear-gradient(90deg, #f00, #ff0, #0f0, #0ff, #00f, #f0f);
background-size: 400%;
border-radius: 40px;
opacity: 0;
transition: .5s;
}
.btn-79:hover:before {
filter: blur(20px);
opacity: 1;
animation: animate_79 8s linear infinite;
}
.btn-79:disabled {
pointer-events: none;
opacity: .65;
color: #7e7e7e;
box-shadow: none;
background: #dcdcdc;
}