-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
110 lines (107 loc) · 1.95 KB
/
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
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
103
104
105
106
107
108
109
110
body {
height: 100vh;
width: 100%;
font-family: fantasy;
font-style: italic, bold;
font-weight: lighter;
color:whitesmoke;
text-align: center;
justify-content: center;
font-size: 40px;
background: linear-gradient(250deg, rgb(174, 62, 188)25%,rgb(145, 117, 145) 50%, rgb(93, 4, 88) 25%);
}
h1 {
font-family: "Impact";
}
.gameBoard {
width: 50%;
display: flex;
flex-wrap: wrap;
align-content: center;
gap: 15px;
perspective: 1000px;
justify-content: center;
align-items: center;
}
.box {
position: relative;
left: 500px;
justify-content: space-evenly;
width: 195px;
height: 150px;
background-color: rgb(202, 48, 216);
transform-style: preserve-3d;
transition: transform 3s ease-in-out;
transform-origin: right center;
cursor: grab;
user-select: none;
box-shadow: 1px 3px 0;
align-items: center;
}
.clickedBox {
width: 195px;
height: 150px;
position: relative;
transition: .3s;
background-color: pink;
}
.hidden {
display: none;
}
.visible {
display: inline;
}
.front{
background-color: rgb(166, 58, 169);
height: 100%;
/* transform: rotateY(180deg); */
}
.back {
background-color: blueviolet;
height: 100%;
z-index: 1;
}
.time {
font-size: 5px;
}
.audio {
top:0;
right: 0;
width: 100px;
position: fixed
}
span {
font-style: italic;
position: relative;
white-space: nowrap;
font-family:Arial;
margin:0 auto;
font-size:60px;
display:block;
}
p {
font-size: 30px;
display: block;
}
.wrapper {
font-size: 35px;
box-sizing: border-box;
background-image: url('pic.jpg');
width: 800px;
justify-content: center;
display:inline-block;
text-align: center;
color:black;
font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
box-shadow: 1px 3px 0;
opacity: 0.5;
}
.p1 {
justify-content: center;
text-align: center;
background-image: url('matchthat.png');
display:inline-block;
height: 350px;
font-size: 25px;
box-sizing: border-box;
}