-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
75 lines (67 loc) · 1.42 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
71
72
73
74
75
body {
margin: 0;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
background-color: #f2f2f2;
}
.container {
text-align: center;
background-color: #ffffff;
padding: 20px;
border-radius: 10px;
box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
}
.title {
font-size: 2em;
margin-bottom: 20px;
text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}
.color-to-guess {
display: flex;
justify-content: space-around;
align-items: center;
margin: 20px auto;
padding: 10px;
border-radius: 10px;
background: linear-gradient(45deg, #ddd, #fff);
box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.1);
}
.rgb-component {
flex: 1;
padding: 10px;
border-radius: 5px;
box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.1);
}
.rgb-component:nth-child(1){
background-color: red;
}
.rgb-component:nth-child(2){
background-color: green;
}
.rgb-component:nth-child(3){
background-color: blue;
}
.options {
display: flex;
justify-content: space-around;
margin-bottom: 20px;
}
.option {
width: 50px;
height: 50px;
border-radius: 5px;
cursor: pointer;
box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}
.option:hover{
transform: scale(1.1);
}
.scoreboard {
margin-top: 20px;
text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}
span {
font-weight: bold;
}