button {
background: #ededed;
border: 1px solid #ccc;
padding: 10px 30px;
border-radius: 3px;
cursor: pointer;
}
button:active {
background: #e5e5e5;
-webkit-box-shadow: inset 0px 0px 5px #c1c1c1;
-moz-box-shadow: inset 0px 0px 5px #c1c1c1;
box-shadow: inset 0px 0px 5px #c1c1c1;
outline: none;
}
Code Example |
---|
Css :: sans serif font family css |
Css :: center text in div |
Css :: css stylistic alternates |
Css :: css hiddden |
Css :: css line under text |
Css :: text stock css |
Css :: left and right box shadow only |
Css :: li only showing first bullet |
Css :: easiest way to invert css to dark mode |
Css :: flex direction |
Css :: centering with flexbox |
Css :: electron draggable |
Css :: css grow |
Css :: before content from attribute |
Css :: remove list dots on li |
Css :: grid columns |
Css :: how to center a inline block element |
Css :: center tecxt css |
Css :: css how to remove underline from visited sites |
Css :: scroll start from bottom css |
Css :: hard blink |
Css :: red color rgb |
Css :: css scroll snap |
Css :: bash list all npm processes |
Css :: SCSS lighten |
Css :: expo vector icons install |
Css :: how to add a background overlay in css |
Css :: css pointer event |
Css :: input padding without changing width |
Css :: css text alignment |