White Solid Color Button #161
CSS White light solid 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-161 {
position: relative;
vertical-align: middle;
text-align: center;
padding: 13px 17px;
letter-spacing: 0.5px;
color: #3a3a3a;
background-color: #f7f7f7;
box-shadow: inset 0 -2px 0 #aaaaaa, inset 0px 1px 1px -1px #fff, 0px 1px 1px 0px #7a7a7a;
border-radius: 3px;
text-transform: uppercase;
font-size: 14px;
overflow: hidden;
font-family: Arial, Helvetica, sans-serif;
cursor: pointer;
border: none;
text-decoration: none;
user-select: none;
display: inline-flex;
justify-content: center;
align-items: center;
/*** full width block ***/
/* width: 100%; */
}
.btn-161:active {
transform: translateY(1.5px);
box-shadow: inset 0 -0.5px 0 #aaaaaa, inset 0px -1px 1px -1px #fff, 0px 0.5px 0.75px 0px #999;
}
/*** disabled style ***/
.btn-161:disabled {
pointer-events: none;
opacity: .65;
color: #7e7e7e;
background: #dcdcdc;
box-shadow: none;
text-shadow: none;
}