-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathstyle.css
70 lines (60 loc) · 1.22 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
62
63
64
65
66
67
68
69
70
main {
font-family: sans-serif;
display: grid;
justify-content: center;
margin-top: 2rem;
width: 100%;
height: 100%;
/* background-color: red; */
}
#box {
width: 200px;
height: 200px;
background-color: rgb(166, 95, 233);
border-radius: 10px 20px 10px 10px;
justify-self: center;
}
#value {
justify-self: center;
margin-top: 2rem;
width: 250px;
padding: 1rem;
color: black;
cursor: pointer;
box-shadow: rgb(209, 209, 209) 0px 5px 0px;
border: none;
border-radius: 5px;
transition: ease-in-out 400ms;
background-color: rgb(233, 255, 225);
font-weight: bold;
text-align: center;
outline: none;
}
#value:hover {
background-color: rgb(255, 255, 145);
}
#message {
color: green;
font-weight: bold;
text-align: center;
margin-top: 0.5rem;
transition: 500ms ease-in-out;
transform: translateY(-30px);
opacity: 0;
}
span:hover #message {
transform: translateY(0px);
opacity: 1;
}
.input_wrapper {
display: flex;
justify-content: space-around;
margin-top: 1rem;
}
.input_wrapper input {
width: 50px;
height: 30px;
font-weight: bold;
text-align: center;
outline: none;
}