Skip to content

Commit 42c98e8

Browse files
Separated me.jpg from main code
1 parent ffd5a53 commit 42c98e8

File tree

4 files changed

+41
-40
lines changed

4 files changed

+41
-40
lines changed

quizzes/reverse/index.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010

1111
<link rel="stylesheet" href="styles.css">
1212

13+
<link rel="stylesheet" href="me.css">
1314

1415
<meta property="og:title" content="Interactive Online MCQ Challenge">
1516
<meta property="og:description" content="Test your knowledge with our engaging online MCQ test focused on C programming, featuring questions on printf and scanf.">

quizzes/reverse/me.css

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
2+
/* 3D Flipping Image Section */
3+
.flip-container {
4+
width: 80px;
5+
height: 80px;
6+
position: absolute;
7+
top: 50px;
8+
left: 50px;
9+
perspective: 1000px;
10+
animation: move-around 20s infinite linear;
11+
}
12+
13+
.flip-container .flipper {
14+
position: relative;
15+
width: 100%;
16+
height: 100%;
17+
transition: transform 0.8s;
18+
transform-style: preserve-3d;
19+
}
20+
21+
.flip-container:hover .flipper {
22+
border-style: ridge;
23+
}
24+
25+
.flip-image {
26+
width: 100%;
27+
height: 100%;
28+
backface-visibility: hidden;
29+
border-radius: 50%;
30+
box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
31+
}
32+
33+
/* Keyframe animation to move the image randomly */
34+
@keyframes move-around {
35+
0% { top: 20px; left: 20px; }
36+
25% { top: 50px; left: 80%; }
37+
50% { top: 80%; left: 50%; }
38+
75% { top: 50%; left: 20px; }
39+
100% { top: 20px; left: 20px; }
40+
}

quizzes/reverse/me.script

Whitespace-only changes.

quizzes/reverse/styles.css

Lines changed: 0 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -17,46 +17,6 @@ body {
1717
box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
1818
}
1919

20-
/* 3D Flipping Image Section */
21-
.flip-container {
22-
width: 80px;
23-
height: 80px;
24-
position: absolute;
25-
top: 50px;
26-
left: 50px;
27-
perspective: 1000px;
28-
animation: move-around 20s infinite linear;
29-
}
30-
31-
.flip-container .flipper {
32-
position: relative;
33-
width: 100%;
34-
height: 100%;
35-
transition: transform 0.8s;
36-
transform-style: preserve-3d;
37-
}
38-
39-
.flip-container:hover .flipper {
40-
border-style: ridge;
41-
}
42-
43-
.flip-image {
44-
width: 100%;
45-
height: 100%;
46-
backface-visibility: hidden;
47-
border-radius: 50%;
48-
box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
49-
}
50-
51-
/* Keyframe animation to move the image randomly */
52-
@keyframes move-around {
53-
0% { top: 20px; left: 20px; }
54-
25% { top: 50px; left: 80%; }
55-
50% { top: 80%; left: 50%; }
56-
75% { top: 50%; left: 20px; }
57-
100% { top: 20px; left: 20px; }
58-
}
59-
6020
/* Button Styling */
6121
button {
6222
background: linear-gradient(45deg, #6a11cb, #2575fc);

0 commit comments

Comments
 (0)