Liquid Style Animated Button #90

CSS Liquid style 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

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-90">
    <span class="liquid"></span>
    <span class="button_text">Button 90</span>
</button>
Button CSS
.btn-90 {
    background: none;
    border: none;
    outline: none;
    color: #fff;
    padding: 16px 30px;
    border-radius: 50px;
    position: relative;
    overflow: hidden;
    font-family: Arial, Helvetica, sans-serif;
    cursor: pointer;
    text-decoration: none;
    user-select: none;
    display: inline-flex;
    justify-content: center;
    align-items: center;
}

.btn-90 .liquid {
    background-color: #adeb28;
    width: 100%;
    height: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
    box-shadow: inset 5px -5px 25px #6c9317, inset -5px 0px 25px #815e10;
}
.btn-90 .liquid::before {
    content: '';
    width: 450px;
    height: 400px;
    background-color: #94c037;
    z-index: 1;
    position: absolute;
    left: -110px;
    top: -380px;
    border-radius: 40%;
    animation: animate_90 5s linear 1.8s infinite;
}

.btn-90 .liquid::after {
    content: '';
    width: 450px;
    height: 400px;
    background: #000;
    z-index: 1;
    position: absolute;
    left: -110px;
    top: -380px;
    border-radius: 45%;
    animation: animate_90 5s linear 2s infinite;
}


.btn-90 .button_text {
    position: relative;
    z-index: 1;
    font-size: 16px;
    letter-spacing: 1px;
    font-weight: bold;
}

@keyframes animate_90 {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

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

.btn-90:disabled .liquid::after  {
    animation: none;
    background: #dcdcdc;
}
.btn-90:disabled .liquid::before  {
    animation: none;
    background: #dcdcdc;
}
.btn-90:disabled .liquid {
    background-color: #dcdcdc;
}