-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcolorgame.css
72 lines (59 loc) · 1.21 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
69
70
71
72
body{
background-color: #232323;
margin: 0;
font-family: 'Montserrat', sans-serif;
font-weight: lighter;
}
h1{
margin: 0;
color: white;
text-align: center;
text-transform: uppercase;
padding:20px 0;
/* top bottom 20px left right */
background: steelblue;
}
#container{
width : 600px;
margin : 20px auto
}
.square{
width : 30%;
background-color:purple;
padding-bottom: 30%;
float: left;
margin: 10px;
/* for rounding the radius of border */
border-radius: 15%;
transition: background-color 0.6s;
}
#stripe{
background : white;
height: 30px;
text-align: center;
color : black
}
.selected {
background-color: blue;
}
#colorDisplay{
font-size: 200%;
}
#messageDisplay{
display: inline-block;
width: 20%;
}
button{
/* for removing the background */
background: none;
/* for removing the border */
border: none;
text-transform: uppercase;
font-size: inherit;
font-family: 'Montserrat', sans-serif;
height: 100%;
font-weight: 700;
color: steelblue;
transition: all 0.3s;
}
/* style span */