File tree Expand file tree Collapse file tree 2 files changed +86
-0
lines changed Expand file tree Collapse file tree 2 files changed +86
-0
lines changed Original file line number Diff line number Diff line change
1
+ .flex-container {
2
+ display : flex;
3
+ flex-direction : row;
4
+ flex-wrap : wrap;
5
+ justify-content : center;
6
+ align-content : center;
7
+ align-items : center;
8
+ }
9
+
10
+ .card {
11
+ width : 150px ;
12
+ height : 150px ;
13
+ position : relative;
14
+ background-color : # 272b30 ;
15
+ perspective : 500 ;
16
+ margin : 5px ;
17
+ border : # ffffff solid 1px ;
18
+ }
19
+
20
+ .flipper {
21
+ transition : 0.8s ;
22
+ transform-style : preserve-3d;
23
+ position : relative;
24
+ }
25
+
26
+ .card .opened .flipper {
27
+ transform : rotateY (180deg );
28
+ }
29
+
30
+ .card .correct {
31
+ background : # 62c462 ;
32
+ }
33
+
34
+ .card .wrong {
35
+ background : # ee5f5b ;
36
+ }
37
+
38
+ .card img {
39
+ width : 130px ;
40
+ height : 130px ;
41
+ margin : 10px 0 0 10px ;
42
+ }
43
+
44
+ .card .back {
45
+ animation : rotating 100s linear
46
+ }
47
+
48
+ .card .front {
49
+ animation : rotating 100ms linear
50
+ }
51
+
52
+ .front , .back {
53
+ backface-visibility : hidden;
54
+
55
+ position : absolute;
56
+ top : 0 ;
57
+ left : 0 ;
58
+ }
59
+
60
+ .front {
61
+ z-index : 2 ;
62
+ /* for firefox 31 */
63
+ transform : rotateY (0deg );
64
+ }
65
+
66
+ .back {
67
+ transform : rotateY (180deg );
68
+ }
69
+
70
+ .center-absolute {
71
+ position : absolute;
72
+ top : 50% ;
73
+ left : 50% ;
74
+ transform : translate (-50% , -50% );
75
+ }
76
+
77
+ .players-info {
78
+ width : 29% ;
79
+ height : 100% ;
80
+ }
81
+
82
+ .players-form {
83
+ width : 70% ;
84
+ height : 100% ;
85
+ }
86
+
1
87
.vertical-center {
2
88
min-height : 100% ;
3
89
min-height : 100vh ;
You can’t perform that action at this time.
0 commit comments