Border Gradient Color Button #54
CSS Border Gradient color 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-54 {
position: relative;
font-family: Arial, Helvetica, sans-serif;
color: #111111;
outline: none;
display: inline-block;
user-select: none;
font-size: 18px;
padding: 12px 32px;
cursor: pointer;
transition: all 0.3s ease;
border-radius: 50px;
/*** full width block ***/
/* width: 100%; */
}
.btn-54-colors {
color: #2e2e2e;
border: 2px solid transparent;
background-image: linear-gradient(#ffffff, #ffffff), radial-gradient(circle at left top, #00BCD4, #E91E63);
background-origin: border-box;
background-clip: padding-box, border-box;
}
.btn-54:hover {
box-shadow: #00bcd491 0px 0px 20px 0px;
}
.btn-54:disabled {
pointer-events: none;
opacity: .65;
color: #7e7e7e;
background: #dcdcdc;
box-shadow: none;
}