-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
61 lines (59 loc) · 1.16 KB
/
style.css
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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Oxanium', cursive;
}
body{
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
background: rgb(63,251,239);
background: linear-gradient(90deg, rgba(63,251,239,1) 0%, rgba(213,70,252,1) 100%);
}
.calculadora{
position: relative;
display: grid;
grid-gap: 2px;
}
.calculadora .tela {
grid-column: span 4;
height: 100px;
text-align: right;
border: none;
outline: none;
padding: 10px;
font-size: 25px;
}
.calculadora span {
display: grid;
width: 80px;
height: 80px;
color: #fff;
font-size: 20px;
font-weight: bold;
text-align: center;
line-height: 80px;
background-color: #1f4f66;
user-select: none;
}
.calculadora span:active {
background-color: #42e123;
font-size: 45px;
}
.calculadora span.limpar{
grid-column: span 2;
width: 162px;
background-color: #a4268d;
}
.calculadora span.igual{
grid-row: span 2;
height: 162px;
line-height: 162px;
background-color: #5455e1;
}
.calculadora span.zero{
grid-column: span 2;
width: 162px;
}