Skip to content

Commit 74598b6

Browse files
authoredOct 30, 2021
An animation of Fast Typing
1 parent 495fc43 commit 74598b6

File tree

2 files changed

+79
-0
lines changed

2 files changed

+79
-0
lines changed
 

β€ŽFast typing/Typing.css

+57
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
body
2+
{
3+
background:radial-gradient(#00faff ,#f981f3 60%);
4+
}
5+
h2 {
6+
animation: type 1.5s steps(17);
7+
overflow: hidden;
8+
white-space: nowrap;
9+
font-family: monospace;
10+
border-right: 16px solid black;
11+
width: 19ch;
12+
color:red;
13+
}
14+
15+
16+
@keyframes type {
17+
0% {
18+
width: 0ch;
19+
}
20+
100% {
21+
width: 19ch;
22+
}
23+
}
24+
Can {
25+
text-align:center;
26+
}
27+
#startButtonId {
28+
position:absolute;
29+
left:34%;
30+
top:195px;
31+
border-radius: 30%;
32+
border-bottom: 14px ;
33+
border-top: 14px ;
34+
width: 100px;
35+
height: 100px;
36+
-webkit-animation: spin 1.5s linear
37+
infinite;
38+
animation: spin 1.8s linear infinite;
39+
background-color: black;
40+
41+
}
42+
#buttonText {
43+
color: white;
44+
text-align: center;
45+
font-size: x-large ;
46+
padding: 30x;
47+
}
48+
@-webkit-keyframes spin {
49+
0% {-webkit-transform: rotate(0deg);}
50+
100% { -webkit-transform:
51+
rotate(360deg); }
52+
}
53+
54+
@keyframes spin {
55+
0% { transform: rotate(0deg); }
56+
100% { transform: rotate(360deg); }
57+
}

β€ŽFast typing/Typing.html

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
<!DOCTYPE html>
2+
<html>
3+
<head>
4+
<title>Page Title</title>
5+
<link rel="stylesheet" href="Typing.css">
6+
</head>
7+
<body>
8+
<h2>Welcome in my code.</h2>
9+
<br /><br /><br />
10+
11+
<marquee>You can follow me on<br/>πŸ‘‡πŸ‘‡πŸ‘‡πŸ‘‡πŸ‘‡πŸ‘‡πŸ‘‡πŸ‘‡</marquee>
12+
13+
<div class="Can">
14+
<div id="startButtonId">
15+
<div id="buttonText">
16+
<a href=https://www.sololearn.com/Profile/8855482/?ref=app><img alt="SoloLearn" src="https://www.sololearn.com/Uploads/icons/sololearn.png" width=100px height=100px /></a>
17+
</div> </div>
18+
</div>
19+
<br /><br /><br /><br /><br /><br /><br /><br />
20+
<a href="https://www.youtube.com/channel/UCf_Rde_c0kf093lkPsk1P1w">My youtube channel</a>
21+
</body>
22+
</html>

0 commit comments

Comments
 (0)