forked from itscodenation/flw1-u2l2-23-24-student-exercises
-
Notifications
You must be signed in to change notification settings - Fork 0
/
dogCalculator.css
104 lines (90 loc) · 1.76 KB
/
dogCalculator.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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
html, body {
height: 100%;
width: 100%;
}
body{
background-color: #a9bd7e;
}
h1 {
text-align: center;
font-family: 'Luckiest Guy', cursive;
color: #7542ff;
font-size: 75px;
padding-top: 50px;
}
img {
position: absolute;
height: 300px;
right: 10px;
bottom: 5px;
}
#calculator {
display: flex;
justify-content: center;
text-align: center;
border: 10px black solid;
border-radius: 5px;
max-width: 500px;
margin: 0 auto;
padding: 10px;
}
input {
outline: 0;
position: relative;
left: 5px;
top: 5px;
border: 0;
color: #495069;
background-color: 4px;
width: 60px;
height: 50px;
float: left;
margin: 5px;
font-size: 20px;
box-shadow: 0 4px rgba(0,0,0,0.2);
}
.input{
width: 270px;
font-size: 26px;
text-align: center;
background-color: #f1faeb;
float: left;
}
.clear{
float: left;
position: relative;
display: block;
background-color: #ff9fa8;
margin-bottom: 15px;
}
.equals{
background-color: #f1ff92;
position: relative;
}
.result {
color: black;
text-align: center;
font-family: Helvetica, sans-serif;
padding-top: 20px;
}
/* answer hover effect */
.input:hover{
width: 270px;
font-size: 26px;
text-align: center;
box-shadow: 0 4px rgba(0,0,0,0.2);
background-color: #f1faeb;
}
/* hover */
.equals:hover{
background-color: #e7f56b;
box-shadow: 0 4px #b7c259;
}
/* hover */
.clear:hover{
float: left;
display: block;
background-color: #f297a0;
margin-bottom: 15px;
box-shadow: 0 4px #cc7f86;
}