CSs style button


/ Published in: CSS
Save to your folder(s)



Copy this code and paste it in your HTML
  1. a.more-link:hover, input[type="submit"]:hover {
  2. background-color: white;
  3. text-decoration: none;
  4. color: #252525;
  5. box-shadow: 0 1px 1px #CFCFCF;
  6. -webkit-box-shadow: 0 1px 1px #CFCFCF;
  7. -moz-box-shadow: 0 1px 1px #CFCFCF;
  8. }
  9.  
  10. a.more-link, input[type="submit"] {
  11. display: block;
  12. background-color: whiteSmoke;
  13. height: 30px;
  14. width: 100px;
  15. line-height: 30px;
  16. text-align: center;
  17. color: #666;
  18. float: left;
  19. font-size: 13px;
  20. border: 0;
  21. cursor: pointer;
  22. margin: 5px 0 0;
  23. border: 1px solid #CFCFCF;
  24. -webkit-border-radius: 5px;
  25. -moz-border-radius: 5px;
  26. border-radius: 5px;
  27. }

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.