Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

pressed button css&html

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;
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #pressed #button
ADD COMMENT
Topic
Name
3+2 =