-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
101 lines (100 loc) · 1.68 KB
/
Copy pathstyle.css
File metadata and controls
101 lines (100 loc) · 1.68 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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
* {
box-sizing: border-box;
margin: 0px;
font-family: "Preahvihear", sans-serif;
}
body {
width: 100%;
height: 100vh;
display: flex;
flex-wrap: wrap;
align-items: center;
justify-content: center;
background: linear-gradient(90deg, #71c8e2, #f1b7b9);
}
h3 {
width: 100%;
height: 10vh;
text-align: center;
font-size: 4rem;
color: #3e3f42;
}
.game {
width: 100%;
height: 89vh;
display: flex;
flex-wrap: wrap;
align-content: stretch;
}
.boxgame {
width: 22%;
text-align: center;
font-size: 9.5rem;
position: relative;
margin-left: 1.5%;
margin-right: 1.5%;
margin-top: 0.5%;
margin-bottom: 0.5%;
cursor: pointer;
transform-style: preserve-3d;
transition: 0.5s;
color: #3e3f42;
}
.face {
position: absolute;
width: 100%;
height: 100%;
backface-visibility: hidden;
border-radius: 15%;
}
.back {
background-color: #eb4b33;
transform: rotateY(180deg);
}
.font {
background-color: #eb4b33;
}
.font::before {
content: "?";
color: #3e3f42;
}
.is-flip,
.win {
transform: rotateY(180deg);
-webkit-transform: rotateY(180deg);
-moz-transform: rotateY(180deg);
}
.no-cklik {
pointer-events: none;
}
.hide {
color: rgba(0, 0, 0, 0);
transition: 0.5s;
}
@media screen and (max-width: 600px) {
.game {
height: 60vh;
}
h3 {
font-size: 2rem;
}
.boxgame {
font-size: 5rem;
}
}
@media screen and (min-width: 1000px) {
.game {
width: 70%;
}
.boxgame {
font-size: 10rem;
}
}
@media screen and (min-height: 1100px) and (max-width: 900px) {
.game {
width: 100%;
}
h3 {
font-size: 3rem;
}
}