-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
60 lines (51 loc) · 996 Bytes
/
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
* {
box-sizing: border-box;
}
body {
font-family: Arial, Tahoma, sans-serif;
}
.info-container {
width: 1080px;
margin: 20px auto 0;
background-color: #f6f6f6;
padding: 20px;
font-size: 24px;
overflow: hidden;
border: 2px solid #2196f3;
}
.info-container .name {
float: left;
width: 50%;
}
.info-container .tries {
float: right;
width: 50%;
text-align: right;
}
.memory-game-blocks {
display: flex;
width: 1100px;
flex-wrap: wrap;
margin: 20px auto;
}
.memory-game-blocks .game-block {
height: 200px;
transition: transform 0.5s;
transform-style: preserve-3d;
cursor: pointer;
position: relative;
flex: 1 0 200px;
margin: 0 10px 20px;
}
.memory-game-blocks .game-block .front {
background-color: #333;
line-height: 200px;
}
.memory-game-blocks .game-block .back {
background-color: #607D8B;
transform: rotateY(180deg);
}
.memory-game-blocks .game-block .back {
background-color: #607D8B;
transform: rotateY(180deg);
}