Hover Background Slide Animated Button #82

CSS hover Background slide 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 style

Disabled style

Full width block style

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
Button HTML
<button class="btn-82">Button 82</button>
Button CSS
.btn-82 {
    font-size: 17px;
    font-weight: bold;
    border: none;
    color: white;
    background-color: #1877f2;
    padding: 15px 25px;
    border-radius: 13px;
    font-family: Arial, Helvetica, sans-serif;
    cursor: pointer;
    text-decoration: none;
    user-select: none;
    display: inline-block;
    /*** full width block ***/
    /* width: 100%; */
}

.btn-82:hover {
    background-image: linear-gradient(90deg, #d0ff2f 17%, #ffa2fa 41%, #1eff5d 65%, #e899ff 100%);
    color: #000;
    animation: slide_82 10s linear infinite;
}

@keyframes slide_82 {
    100% {
        background-position: 50rem;
    }
}

.btn-82:disabled {
    pointer-events: none;
    opacity: .65;
    color: #7e7e7e;
    box-shadow: none;
    background: #dcdcdc;
}