-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
executable file
·67 lines (60 loc) · 1.72 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
56
57
58
59
60
61
62
63
64
65
66
67
<!doctype html>
<html lang="en-GB">
<head>
<meta charset="UTF-8" />
<title>TextBlur - a jQuery Plugin</title>
<link
href="http://fonts.googleapis.com/css?family=Ultra"
rel="stylesheet"
type="text/css"
/>
</head>
<style type="text/css">
body {
text-align: center;
font-family: "Ultra";
background-color: #eee;
font-size: max(2.5vw, 2.5vh);
}
span {
position: absolute;
bottom: 5px;
right: 5px;
display: none;
}
a,
a:hover,
a:active,
a:visited {
text-decoration: none;
color: #000;
}
</style>
<script
type="text/javascript"
src="//code.jquery.com/jquery.min.js"
></script>
<script type="text/javascript" src="jquery.textblur.js"></script>
<script type="text/javascript">
$(function () {
var h1 = $("h1"),
h2 = $("h2"),
h4 = $("h4"),
sp = $("span");
h1.css({ textBlur: 60 }).delay(1000).animate({ textBlur: 0 }, 1000);
h2.css({ textBlur: 60 }).delay(1700).animate({ textBlur: 0 }, 1000);
h4.css({ textBlur: 60 }).delay(2400).animate({ textBlur: 0 }, 1000);
sp.delay(2500).fadeIn("slow");
});
</script>
<body>
<h1>Wouldn't it be good,</h1>
<h2>to be able to play</h2>
<h4>with the Blur Filter, without Flash?</h4>
<span>
<a href="http://github.com/ottonascarella/TextBlur"
>TextBlur >>> a jQuery Plugin</a
>
</span>
</body>
</html>