-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
74 lines (55 loc) · 1.49 KB
/
index.html
File metadata and controls
74 lines (55 loc) · 1.49 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Most Efficient Text Type Animation</title>
<!-- H1 Text Style -->
<style>
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800&display=swap');
body {
padding: 160px 300px;
box-sizing: border-box;
}
h1 {
color: #ff214f;
font-weight: 300;
font-family: 'Montserrat', sans-serif;
font-size: 76px;
}
</style>
</head>
<body>
<!--- Typed String starts -->
<h1>
Hello, I'm <br>
<span class="typed" id="typed-strings">
<span>Aditya Kumar</span>
<span>Web Designer</span>
<span>Web Developer</span>
<span>App Developer</span>
</span>
<!--- Blinking Cursor line -->
<span id="typed"></span>
</h1>
<!--- Typed String Ends -->
<!-- JQuery JS -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>
<!-- Typed JS -->
<script src="https://cdn.jsdelivr.net/npm/typed.js@2.0.9"></script>
<!---- TYPE ANIMATION CONTROLS ----->
<script>
$(document).ready(function (e) {
var typed = new Typed('#typed', {
stringsElement: '#typed-strings',
typeSpeed: 10,
backSpeed: 30,
loop: true,
backDelay: 2000,
startDelay: 1000,
});
});
</script>
</body>
</html>