File tree 3 files changed +108
-0
lines changed
3 files changed +108
-0
lines changed Original file line number Diff line number Diff line change
1
+
2
+ # Text Switcher
3
+
4
+ ## 🚀 About Me
5
+ I'm a full stack developer...you can follow me here -https://github.com/RAHULBAWA777
6
+
7
+
8
+ ## Run Locally
9
+
10
+ Clone the project
11
+
12
+
13
+ Start the live server
14
+
15
+
16
+ ## Used By
17
+
18
+ This project is used by the following companies:
19
+
20
+ -https://github.com/Dezenix/frontend-html-css-js
Original file line number Diff line number Diff line change
1
+ <!DOCTYPE html>
2
+ < html lang ="en ">
3
+
4
+ < head >
5
+ < meta charset ="UTF-8 ">
6
+ < meta name ="viewport " content =
7
+ "width=device-width, initial-scale=1.0 ">
8
+ < title > Text Changer</ title >
9
+ < link rel ="stylesheet " href ="style.css ">
10
+ </ head >
11
+
12
+ < body >
13
+ < div id =container >
14
+ GSSoC
15
+ < div id =change >
16
+ < div > < div > Dezenix</ div > </ div >
17
+ < div > < div > github</ div > </ div >
18
+ < div > < div > repo</ div > </ div >
19
+ </ div >
20
+ 😄
21
+ </ div >
22
+
23
+ </ body >
24
+
25
+ </ html >
Original file line number Diff line number Diff line change
1
+ body {
2
+ margin : 0 ;
3
+ padding : 0 ;
4
+ text-align : center;
5
+ }
6
+
7
+ # container {
8
+ color : rgb (255 , 123 , 0 );
9
+ font-size : 40px ;
10
+ margin-top : 500px ;
11
+ position : fixed;
12
+ display : block;
13
+ text-transform : uppercase;
14
+ width : 100% ;
15
+ bottom : 45% ;
16
+ }
17
+
18
+ # change {
19
+ height : 80px ;
20
+ overflow : hidden;
21
+ }
22
+
23
+ # change > div > div {
24
+ color : # fff ;
25
+ padding : 10px 15px ;
26
+ height : 50px ;
27
+ margin-bottom : 45px ;
28
+ display : inline-block;
29
+ }
30
+
31
+ # change div : first-child {
32
+ animation : change 5s linear infinite;
33
+ }
34
+
35
+ # change div div {
36
+ background : # 0069fc ;
37
+ }
38
+ # change div : first-child div {
39
+ background : # d2f34e ;
40
+ }
41
+ # change div : last-child div {
42
+ background : # fc5e7d ;
43
+ }
44
+
45
+ @keyframes change {
46
+ 0% {margin-top : -270px ;}
47
+ 5% {margin-top : -180px ;}
48
+ 33% {margin-top : -180px ;}
49
+ 38% {margin-top : -90px ;}
50
+ 66% {margin-top : -90px ;}
51
+ 71% {margin-top : 0px ;}
52
+ 99 .99% {margin-top : 0px ;}
53
+ 100% {margin-top : -270px ;}
54
+ }
55
+
56
+ p {
57
+ position : fixed;
58
+ width : 100% ;
59
+ bottom : 40px ;
60
+ font-size : 4rem ;
61
+ color : rgb (32 , 29 , 29 );
62
+ margin-top : 400px ;
63
+ }
You can’t perform that action at this time.
0 commit comments