-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
102 lines (100 loc) · 1.96 KB
/
style.css
File metadata and controls
102 lines (100 loc) · 1.96 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
102
@import url("https://fonts.googleapis.com/css2?family=Exo:ital,wght@1,494&display=swap");
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
background-color: #9fd5ec;
}
.container {
position: absolute;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
width: 800px;
height: 400px;
/* border: 2px solid lightgrey; */
border-radius: 9px;
background: #508991;
box-shadow: 7px 7px 12px #435c72, -7px -7px 12px #ebffff;
display: flex;
flex-wrap: wrap;
justify-content: space-around;
align-items: center;
}
.inner {
margin-top: 0.4%;
margin-left: 0.3%;
background-color: transparent;
width: 23%;
height: 21%;
border: 1px solid #f1f1f1;
perspective: 1000px;
}
.cards {
border-radius: 9px;
background: #9fd5ec;
box-shadow: 1px 1px 3px #435c72, -1px -1px 3px #ebffff;
color: white;
position: relative;
width: 100%;
height: 100%;
text-align: center;
transition: transform 0.8s;
transform-style: preserve-3d;
}
.inner:hover .cards {
cursor: pointer;
}
.cardFront,
.cardBack {
position: absolute;
width: 100%;
height: 100%;
backface-visibility: hidden;
}
.cardFront {
background-color: #9fd5ec;
color: black;
background-image: url(imgs/10.svg);
background-position: center;
background-repeat: no-repeat;
background-size: 30%;
}
.cardBack {
background-color: white;
color: white;
transform: rotateY(180deg);
}
.scoreContainer {
/* border: 2px solid black; */
height: 150px;
font-size: 30px;
display: flex;
justify-content: space-evenly;
align-items: center;
font-family: "Exo", sans-serif;
font-weight: 500;
}
.btnContainer {
/* border: 2px solid red; */
display: flex;
justify-content: center;
height: 50px;
margin-top: 450px;
}
button {
transform: translate(-10%);
height: 100%;
width: 150%;
font-family: "Exo", sans-serif;
font-size: 24px;
border: none;
background-color: #508991;
color: white;
border-radius: 5px;
}
button:hover {
cursor: pointer;
}