File tree Expand file tree Collapse file tree 3 files changed +74
-0
lines changed Expand file tree Collapse file tree 3 files changed +74
-0
lines changed Original file line number Diff line number Diff line change
1
+ <!DOCTYPE html>
2
+ < html lang ="en ">
3
+ < head >
4
+ < meta charset ="UTF-8 ">
5
+ < meta name ="viewport " content ="width=device-width, initial-scale=1.0 ">
6
+ < title > Art World</ title >
7
+ < link rel ="stylesheet " href ="styles.css ">
8
+ </ head >
9
+ < body >
10
+ < h1 > Art World</ h1 >
11
+ < section >
12
+ < span class ="dot "> </ span >
13
+ < span class ="dot "> </ span >
14
+ < span class ="dot "> </ span >
15
+ < span class ="dot "> </ span >
16
+ </ section >
17
+ </ body >
18
+ </ html >
Original file line number Diff line number Diff line change
1
+ {
2
+ "artName" : " artworld" ,
3
+ "githubHandle" : " bekezela"
4
+ }
Original file line number Diff line number Diff line change
1
+ * {
2
+ background-color : # 754c4c ;
3
+ }
4
+
5
+ h1 {
6
+ color : # fff ;
7
+ text-align : center;
8
+ }
9
+
10
+ @keyframes pop {
11
+ 0% {
12
+ transform : scale (0 );
13
+ } 100% {
14
+ transform : scale (1 )
15
+ }
16
+ }
17
+
18
+ @keyframes example {
19
+ 0% {background-color : rgb (201 , 201 , 201 ); left : 0px ; top : 0px ;}
20
+ 25% {background-color : # fababa ; left : 200px ; top : 0px ;}
21
+ 50% {background-color : rgb (244 , 245 , 247 ); left : 200px ; top : 200px ;}
22
+ 75% {background-color : rgb (182 , 248 , 249 ); left : 0px ; top : 200px ;}
23
+ 100% {background-color : rgb (248 , 248 , 170 ); left : 0px ; top : 0px ;}
24
+ }
25
+
26
+ section {
27
+ background-color : # fff ;
28
+ box-shadow : 0 4px 8px 0 rgba (0 , 0 , 0 , 0.2 );
29
+ transition : 0.3s ;
30
+ width : max-content;
31
+ height : max-content;
32
+ margin : 0 auto;
33
+ border-radius : 5px ;
34
+ padding : 40px ;
35
+ position : relative;
36
+ animation-name : example;
37
+ animation-duration : 4s ;
38
+ animation-iteration-count : 2 ;
39
+ animation-direction : alternate;
40
+ }
41
+
42
+ section > .dot {
43
+ height : 50px ;
44
+ width : 50px ;
45
+ border-radius : 50% ;
46
+ display : inline-block;
47
+ animation : pop 1s ease infinite forwards;
48
+ background : linear-gradient (# fababa, rgb (5 , 5 , 5 ));
49
+ }
50
+
51
+
52
+
You can’t perform that action at this time.
0 commit comments