Hover Animated Icon Button #155

CSS Hover animated icon 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-155">
  <span class="button-icon">
    <svg xmlns="http://www.w3.org/2000/svg" fill="currentcolor" viewBox="0 0 24 24"><path d="M16.1716 10.9999L10.8076 5.63589L12.2218 4.22168L20 11.9999L12.2218 19.778L10.8076 18.3638L16.1716 12.9999H4V10.9999H16.1716Z"></path></svg>
  </span>
  <span class="button-text">Button 155</span>
</button>
Button CSS
.btn-155 {
    background: #00a1ff;
    color: white;
    font-size: 16px;
    border-radius: 10px;
    border: none;
    letter-spacing: 1px;
    padding: 13px 50px 13px 13px;
    overflow: hidden;
    position: relative;
    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;
    background-image: radial-gradient(circle at center center, #06f2c6, #0c66c5);
}

.btn-155 .button-icon {
    background: #ffffff;
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    border-radius: 7px;
    right: 5px;
    top: 5px;
    bottom: 5px;
    transition: all 0.3s;
}

.btn-155:hover .button-icon {
    width: calc(100% - 10px);
}

.btn-155 .button-icon svg {
    width: 1.1em;
    transition: transform 0.3s;
    color: #000000;
}

.btn-155:hover .button-icon svg {
    transform: translateX(0.1em);
}

.btn-155:active .button-icon {
    transform: scale(0.95);
}

/*** disabled style ***/
.btn-155:disabled {
    pointer-events: none;
    opacity: .65;
    color: #666666;
    background: #dcdcdc;
    text-shadow: none;
    box-shadow: none;
}

.btn-155:disabled .button-icon {
    background: #cccccc;
}