File tree 1 file changed +58
-0
lines changed
packages/frontendmu-nuxt/pages 1 file changed +58
-0
lines changed Original file line number Diff line number Diff line change
1
+ <script setup lang="ts">
2
+ definePageMeta ({
3
+ layout: false ,
4
+ });
5
+ </script >
6
+
7
+ <template >
8
+ <div class =" egg-basket" >
9
+ <div class =" egg" >
10
+ <div class =" white" >
11
+ <div class =" yolk" >
12
+ </div >
13
+ </div >
14
+ </div >
15
+ </div >
16
+ </template >
17
+
18
+ <style scoped>
19
+ .egg-basket {
20
+ height : 100vh ;
21
+ width : 100vw ;
22
+ display : flex ;
23
+ justify-content : center ;
24
+ align-items : center ;
25
+ }
26
+
27
+ .egg , .white , .yolk {
28
+ display : flex ;
29
+ align-items : center ;
30
+ justify-content : center ;
31
+ }
32
+
33
+ .egg {
34
+ background : #FFFFFF ;
35
+ border : 2px solid black ;
36
+ width : 11rem ;
37
+ height : 15rem ;
38
+ border-radius : 50% / 60% 60% 40% 40% ;
39
+ animation : self-rotate 2s infinite ;
40
+ }
41
+
42
+ @keyframes self-rotate {
43
+ from {
44
+ transform : rotate (0deg )
45
+ }
46
+ to {
47
+ transform : rotate (360deg )
48
+ }
49
+ }
50
+
51
+ .yolk {
52
+ background : #ffcc00 ;
53
+ width : 6.5rem ;
54
+ height : 7rem ;
55
+ border-radius : 55% / 60% ;
56
+ border : 2px solid black ;
57
+ }
58
+ </style >
You can’t perform that action at this time.
0 commit comments