-
Notifications
You must be signed in to change notification settings - Fork 4
/
style.css
68 lines (55 loc) · 861 Bytes
/
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
62
63
64
65
66
67
68
#calculator {
direction: ltr;
width: 300px;
display: flex;
flex-wrap: wrap;
justify-content: space-between;
}
#output-container {
flex-basis: 100%;
display: flex;
}
input {
flex-basis: 100%;
}
#reset {
flex-shrink: 0;
}
#numbers {
display: flex;
flex-wrap: wrap-reverse;
flex-basis: 75%;
flex-grow: 1;
}
#operators {
display: flex;
flex-direction: column-reverse;
}
input, button {
height: 50px;
margin: 3px;
font-size: larger;
}
button {
width: 50px;
border: 1px solid brown;
background-color: #FFe900;
}
button:hover {
background-color: sandybrown;
color: white;
}
#calculate:hover {
background-color: darkblue;
}
#numbers button {
flex-basis: calc(33% - 6px);
}
#calculate, #dot, #zero {
order: -1;
}
#calculate {
font-weight: bold;
background-color: lightblue;
border-color: darkblue;
}