-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcolorgame.css
68 lines (68 loc) · 1.4 KB
/
colorgame.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
body{
/* background-color: rgb(24, 24, 24); */
margin: 0;
background-image: url('http://wonderfulengineering.com/wp-content/uploads/2016/02/glitter-wallpaper-11.jpg');
background-size: "cover";
}
.square{
width: 30%;
background:rgb(119, 172, 199);
padding-bottom: 30%;
float: left;
margin: 1.66%;
border-radius: 20%;
transition: background-color 0.5s;
-webkit-transition: background-color 0.5s;
-moz-transition: background-color 0.5s;
}
#container{
margin: 45px auto;
max-width: 600px;
}
h1{
color: rgb(219, 229, 237);
text-align: center;
background-color: steelblue;
margin: 0;
text-transform: uppercase;
font-weight: normal;
line-height: 1.2;
padding: 20px 0;
}
#stripe{
background-color: white;
height: 40px;
text-align: center;
color: black;
}
.selected{
color: white;
background-color: steelblue;
}
#colorDisplay{
font-size: 200%;
}
button{
border: none;
background: none;
text-transform: uppercase;
height: 100%;
font-weight: 700;
color: steelblue;
letter-spacing: 1px;
font-size: inherit;
transition: all 0.4s;
outline: none;
}
#message{
display: inline-block;
width: 40%;
font-family: 'Dancing Script', cursive;
font-size: x-large;
font-weight: 700;
letter-spacing: 1px;
}
button:hover{
color: white;
background-color: steelblue;
}