File tree Expand file tree Collapse file tree 4 files changed +41
-40
lines changed Expand file tree Collapse file tree 4 files changed +41
-40
lines changed Original file line number Diff line number Diff line change 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. ">
Original file line number Diff line number Diff line change 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+ }
Original file line number Diff line number Diff 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 */
6121button {
6222 background : linear-gradient (45deg , # 6a11cb, # 2575fc );
You can’t perform that action at this time.
0 commit comments