-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcalc.css
More file actions
55 lines (55 loc) · 1022 Bytes
/
calc.css
File metadata and controls
55 lines (55 loc) · 1022 Bytes
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
*{
margin: 0;
padding: 0;
box-sizing:border-box;
}
body{
background-color:#272626;
}
.outputcalc{
grid-column: span 4;
padding: 20px;
font-size: 40px;
background-color: rgba(188, 188, 190, 0.874);
}
.calc-container{
display: flex;
align-items: center;
justify-content: center;
text-align: end;
}
.calc{
display: grid;
grid-template-columns: repeat(4,90px);
grid-template-rows: repeat(6,70px);
gap: 20px;
padding: 20px;
border: solid;
border-radius: 5px;
border-color: whitesmoke;
margin: 10px;
}
button{
font-size: 30px;
background-color: rgb(171, 171, 174);
border: none;
border-radius: 30%;
transition: 0.3s;
}
.opbutton{
background-color:rgb(45, 51, 218);
}
.equal{
width: 200px;
background-color: #6082ff;
}
button:hover{
background-color: rgba(240, 243, 245, 0.874);
cursor: pointer;
}
.opbutton:hover{
background-color: #3960ff;
}
.equal:hover{
background-color: rgb(163, 166, 255);
}