-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
77 lines (67 loc) · 1.32 KB
/
style.css
File metadata and controls
77 lines (67 loc) · 1.32 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
* {
box-sizing: border-box;
}
body {
width: 100%;
height: 100vh;
padding: 0;
margin: 0;
}
#calculator {
display: flex;
flex-direction: column;
align-items: center;
justify-content: space-evenly;
max-width: 400px;
width: 90%;
height: auto;
padding: 20px;
margin: 200px auto;
border-radius: 8px;
border: 1px solid grey;
}
#calculator output {
width: 100%;
height: 50px;
padding: 5px;
text-align: right;
font-size: 25px;
font-family: monospace;
border-radius: 4px;
border: 2px solid lightgrey;
}
#calculator table {
width: 100%;
margin: 10px;
/* border: 1px solid red; */
}
table input[type='button'] {
width: 100%;
height: auto;
padding: 10px;
margin: 2px;
/* margin: 0 auto; */
outline: none;
color: white;
background-color: black;
font-size: 25px;
font-family: monospace;
border-radius: 4px;
border: none;
}
input[type='button']:active {
transition: .15s ease-in;
color: white;
background-color: lightgreen;
/* border: 1px solid black; */
}
#deleteBtn {
background-color: red;
}
#calculator .operator {
background-color: gray;
color: white;
}
#calculator::before {
content: ""
}