-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
55 lines (51 loc) · 1.21 KB
/
index.html
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
<!DOCTYPE html>
<html>
<head>
<meta charset=utf-8 />
<title>Letterize.js</title>
<style>
.line_split .line1{
color: #453d24;
animation: colorAnim1 1s 2s forwards infinite;
}
.line_split .line2{
color: #dcd08f;
animation: colorAnim2 2s 3s forwards infinite;
}
.line_split .line3{
color: #00f;
animation: colorAnim1 2s 4s forwards infinite;
}
@keyframes colorAnim1{
0%{
color: #b4787e;
}
100%{
color: #d7575c;
}
}
@keyframes colorAnim2{
0%{
color: #97bf83;
}
100%{
color: #e2be4e;
}
}
</style>
<!--[if IE]>
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
</head>
<body>
<div>
<p class="line_split">Yayyyyyy!! you<br/> ready to<br/> Letterize!</p>
<br />
<p class="line_split">Another Line Split</p>
</div>
<script type="text/javascript" src="letterize.js"></script>
<script type="text/javascript">
letterize(".line_split", "chars", "span");
</script>
</body>
</html>