Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- table {
- width: 400px;
- height: 400px;
- background: #dbdbdb;
- border: 2px solid black;
- }
- .display{
- background: darkgray;
- border: 2px solid black;
- width: 418px;
- height: 100px;
- }
- .display input {
- width: 400px;
- height: 80px;
- margin-left: 6px;
- margin-top: 6px;
- background: #ffffff;
- border: 2px solid #9f9f9f;
- text-align: right;
- font-size: 3em;
- color: #303532;
- border: 1px solid darkgreen;
- font-family: serif;
- }
- .button td button{
- width: 100px;
- height: 100px;
- border: 1px solid black;
- background: linear-gradient(white, gray);
- font-family: Tahoma, sans-serif;
- font-size: 30px;
- font-weight: bold;
- color: white;
- text-shadow: 2px 1px 1px black;
- }
- .button td button:active{
- background: linear-gradient(gray, lightgray);
- }
- #plus {
- background: linear-gradient(white, darkgreen);
- }
- #plus:active {
- background: linear-gradient(sienna, white);
- }
- #minus {
- background: linear-gradient(white, darkred);
- }
- #minus:active {
- background: linear-gradient(sienna, white);
- }
- #multiply {
- background: linear-gradient(white, cadetblue);
- }
- #multiply:active {
- background: linear-gradient(sienna, white);
- }
- #divide{
- background: linear-gradient(white, chocolate);
- }
- #divide:active {
- background: linear-gradient(sienna, white);
- }
- #equals {
- background: linear-gradient(white, plum, purple);
- }
- #equals:active {
- background: linear-gradient(sienna, white);
- }
- #clear {
- background: linear-gradient(white, orange);
- }
- #clear:active {
- background: linear-gradient(sienna, white);
- }
Advertisement
Add Comment
Please, Sign In to add comment