-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
59 lines (50 loc) · 1.02 KB
/
styles.css
File metadata and controls
59 lines (50 loc) · 1.02 KB
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
/* Step 1 - Add a nice background */
body {
background-color: rgba(167, 175, 183, 0.7)
}
/* Step 2 - Add a nice card style */
.card {
background-color:red;
color:rgba(1, 1, 1, 0);
width: 100px;
height: 100px;
}
/* Step 3 - Add a nice hover effect */
.card:hover {
background-color: orange;
}
/* Step 4 (+4 points) - Write a style for a flipped card */
.flipped {
background-color: blue;
color:white;
}
/* Step 5 - Add a nice style to the message element */
#message {
background-color: rgba(22, 221, 198, 0.5)
}
/* Step 6 - Add 5 more style changes... */
/* 1) */
.setted{
background-color: green;
color:white;
}
/* 2) */
#gameboard{
display: grid;
grid-template-rows: auto auto auto;
grid-template-columns: auto auto auto auto auto auto auto auto auto auto auto auto ;
grid-gap: 20px 20px;
}
/* 3) */
.flipped:hover{
background-color: skyblue;
}
/* 4) */
.setted:hover{
background-color: greenyellow;
}
/* 5) */
.setted{
background-color: green;
color:white;
}