suebriquet

rounded corners css

May 25th, 2012
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 1.18 KB | None | 0 0
  1. .button {
  2.     position: relative;
  3.     display:table;
  4.         display: inline;
  5.         top: 15px;
  6.     outline: none;
  7.     cursor: pointer;
  8.     text-align: center;
  9.     text-decoration: none;
  10.     font-size: 14px;
  11.         font-weight: bold;
  12.     padding: .5em 2em .55em;
  13.     text-shadow: 0 1px 1px rgba(0,0,0,.3);
  14.     -webkit-border-radius: .5em; 
  15.     -moz-border-radius: .5em;
  16.     border-radius: .5em;
  17.     -webkit-box-shadow: 0 1px 2px rgba(0,0,0,.2);
  18.     -moz-box-shadow: 0 1px 2px rgba(0,0,0,.2);
  19.     box-shadow: 0 1px 2px rgba(0,0,0,.2);
  20.     color: #faddde;
  21.     border: solid 1px #980c10;
  22.     background: #d81b21;
  23.     background: -webkit-gradient(linear, left top, left bottom, from(#aa1317), to(#ed1c24));
  24.     background: -moz-linear-gradient(top,  #aa1317,  #ed1c24);
  25. }
  26. .button:hover {
  27.     text-decoration: none;
  28.     background: #b61318;
  29.     background: -webkit-gradient(linear, left top, left bottom, from(#c9151b), to(#a11115));
  30.     background: -moz-linear-gradient(top,  #c9151b,  #a11115);
  31. }
  32. .button:active {
  33.     position: relative;
  34.     top: 1px;
  35.     color: #de898c;
  36.     background: -webkit-gradient(linear, left top, left bottom, from(#aa1317), to(#ed1c24));
  37.     background: -moz-linear-gradient(top,  #aa1317,  #ed1c24);
  38. }
Advertisement
Add Comment
Please, Sign In to add comment