-
Notifications
You must be signed in to change notification settings - Fork 1
/
mcqtemp.html
231 lines (209 loc) · 5.48 KB
/
mcqtemp.html
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
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<style>
body{
margin:0px;
}
.container
{
height:100%px;
width:100%;
display:grid;
grid-template-rows: 1fr 10fr 1fr;
grid-template-columns: 1fr 1fr;
justify-content:center;
background-color: rgba(0, 0, 0, 0.94);
color:rgb(0, 0, 0);
}
.box1
{
width:98%;
padding:3px;
border-bottom: 4px solid rgba(106, 31, 123, 0.137);
display:grid;
padding-top: 7px;
grid-column-start: 1;
grid-column-end: 3;
justify-content:center;
color:aliceblue;
font-size:20px;
grid-template-rows: 1fr 1fr;
grid-template-columns: 1fr 1fr;
}
.box11{
background-color:rgb(8, 7, 7);
border:4px solid white;
border-radius: 10px;
width:100%;
color:black;
grid-column-start: 1;
grid-column-end: 3;
}
.box21
{
grid-column-start: 1;
grid-column-end: 3;
}
.box2
{
display:grid;
width:98%;
background-image: url("abstract-grunge-decorative-relief-navy-blue-stucco-wall-texture-wide-angle-rough-colored-background.jpg");
background-position: center;
background-size:cover;
border:2px rgba(255, 255, 255, 0.386);
grid-template-rows: 1.2fr 1fr;
grid-column-start: 1;
grid-column-end: 3;
border-radius: 10px;
justify-self: center;
justify-content: center;
grid-template-columns: 1fr 1fr;
padding-bottom: 5px;
}
.box3
{
width:100%;
background-image:url("doctor-strange\ edit.jpg");
opacity: 1;
padding:5px;
display:grid;
grid-template-rows: 1fr 1fr;
justify-content: center;
}
.box21
{
padding:5px;
display:grid;
justify-content: center;
align-content: center;
grid-column-start: 1;
grid-column-end: 3;
color: aliceblue;
background-color: ;
}
.box22
{
width:98%;
display:flex;
justify-self: center;
height:80%;
padding: 5px;
justify-content:space-evenly;
grid-column-start: 1;
grid-column-end: 3;
grid-gap:10px;
}
#b3{
width:100%;
display:grid;
justify-content:space-evenly;
border-radius: 15px;
grid-row-end: 3;
grid-row-start: 1;
font-size: 20px;
}
.box221
{
background-color:rgba(0, 255, 255, 0.818);
}
.box222
{
background-color:rgba(230, 27, 0, 0.807);
}
.box223
{
background-color: rgba(30, 255, 0, 0.763);
}
.box224
{
background-color: rgba(128, 0, 255, 0.73);
}
#time{
margin: 5px;;
font-size:20px;
color: rgb(255, 255, 255);
animation: blinker 2s linear infinite;
}
@keyframes blinker{
50%{
opacity:0.5;
}
}
@keyframes slide {
from {
margin-right: 0%;
}
to {
margin-right: 98%;
}
}
@keyframes col{
0%{background-color:green}
50%{background-color: yellow}
90%{background-color: red}
}
#anime
{
animation: slide 10s ,col 11s;
animation-timing-function: ease-in;
animation-direction:normal;
animation-fill-mode: backwards;
}
@media (max-width:768px){
.box22
{
width:98%;
display:flex;
justify-self: center;
height:80%;
padding: 5px;
justify-content:space-evenly;
flex-wrap: wrap;
grid-column-start: 1;
grid-column-end: 3;
grid-gap:10px;
}
}
</style>
</head>
<body>
<div class="container">
<div class="box1" >
<div class="box11">
<div id="anime" style="background-color: black;">. </div>
</div>
<div class="box12">
<a>Time remaining:
</a>
<a id="time">00:min</a>
<a id="time">00:sec</a>
</div>
</div>
<div class="box2">
<div class="box21" id="b2"
style="font-size:25px" >Question to be printed here
</div>
<div class="box22">
<div class="box221" id="b3">
Option 1
</div>
<div class="box222" id="b3">
Option 2
</div>
<div class="box223" id="b3">
Option 3
</div>
<div class="box224" id="b3">
Option 4
</div>
</div>
</div>
</div>
</body>
</html>