Advertisement
Booster

Simple calculator stylesheet

Feb 15th, 2015
200
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 1.76 KB | None | 0 0
  1. body>table {
  2.     padding: 0;
  3.     margin-left: 50px;
  4.     font: 40px Verdana, sans-serif;
  5.     text-align: center;
  6. }
  7. td {
  8.     width: 90px;
  9.     height: 90px;
  10.     padding: 3px;
  11. }
  12. input[type="text"] {
  13.     width: 100%;
  14.     height: 100%;
  15.     font-size: 60px;
  16.     background-color: white;
  17.     text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
  18.     text-align: right;
  19.     letter-spacing: 1px;
  20. }
  21. input[type="button"] {
  22.     width: 100%;
  23.     height: 100%;
  24.     font-size: 70px;
  25.     color: red;
  26.     background: rgb(245,246,246); /* Old browsers */
  27.     background: -moz-linear-gradient(top,  rgba(245,246,246,1) 0%, rgba(219,220,226,1) 25%, rgba(184,186,198,1) 49%, rgba(221,223,227,1) 76%, rgba(245,246,246,1) 100%); /* FF3.6+ */
  28.     background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(245,246,246,1)), color-stop(25%,rgba(219,220,226,1)), color-stop(49%,rgba(184,186,198,1)), color-stop(76%,rgba(221,223,227,1)), color-stop(100%,rgba(245,246,246,1))); /* Chrome,Safari4+ */
  29.     background: -webkit-linear-gradient(top,  rgba(245,246,246,1) 0%,rgba(219,220,226,1) 25%,rgba(184,186,198,1) 49%,rgba(221,223,227,1) 76%,rgba(245,246,246,1) 100%); /* Chrome10+,Safari5.1+ */
  30.     background: -o-linear-gradient(top,  rgba(245,246,246,1) 0%,rgba(219,220,226,1) 25%,rgba(184,186,198,1) 49%,rgba(221,223,227,1) 76%,rgba(245,246,246,1) 100%); /* Opera 11.10+ */
  31.     background: -ms-linear-gradient(top,  rgba(245,246,246,1) 0%,rgba(219,220,226,1) 25%,rgba(184,186,198,1) 49%,rgba(221,223,227,1) 76%,rgba(245,246,246,1) 100%); /* IE10+ */
  32.     background: linear-gradient(to bottom,  rgba(245,246,246,1) 0%,rgba(219,220,226,1) 25%,rgba(184,186,198,1) 49%,rgba(221,223,227,1) 76%,rgba(245,246,246,1) 100%); /* W3C */
  33.     filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f5f6f6', endColorstr='#f5f6f6',GradientType=0 ); /* IE6-9 */
  34. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement