-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
100 lines (88 loc) · 1.64 KB
/
Copy pathstyle.css
File metadata and controls
100 lines (88 loc) · 1.64 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
*{
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: monospace;
}
body{
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
background: #0E0E11;
}
.container{
position: relative;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
gap: 30px;
background: #18181B;
padding: 40px 60px;
}
h2{
font-size: 3em;
color: white;
text-transform: uppercase;
letter-spacing: 0.1em;
}
.reset{
padding: 15px 20px;
color: rgb(159, 89, 224) ;
background: white;
border: none;
font-size: 1.5em;
letter-spacing: 0.1em;
text-transform: uppercase;
cursor: pointer;
font-weight: 600;
margin-top: 40px;
}
.reset:focus{
color: white;
background: rgb(183, 156, 207);
}
.game{
width: 500px;
height: 500px;
display: flex;
flex-wrap: wrap;
gap: 10px;
transform-style: preserve-3d;
perspective: 500px;
padding: 0px 30px 10px 30px;
}
.game img{
height: 90%;
width: 90%;
}
.item {
width: 100px;
height: 100px;
background: white;
position: relative;
display: flex;
justify-content: center;
align-items: center;
}
.item:hover{
border-color: rgb(103, 46, 156);
box-shadow: 0px 0px 10px rgb(192, 179, 206);
}
.item.minDivOpen{
transform: rotateY(0deg);
}
.item::after{
content: '';
position: absolute;
inset: 0;
background: rgb(112, 70, 151);
transition: 0.25s;
transform: rotateY(0deg);
backface-visibility: hidden;
}
.minDivOpen:after,
.minDivMatch:after{
transform: rotateY(180deg);
}