-
Notifications
You must be signed in to change notification settings - Fork 3
/
index.html
42 lines (42 loc) · 1.84 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
<!DOCTYPE html>
<html>
<head>
<title>Demo - neon effect</title>
<link href="/css/basic.css" rel="stylesheet">
<link href="/css/colors.css" rel="stylesheet">
<link href="/css/demo.css" rel="stylesheet">
<link href="css/neon.css" rel="stylesheet">
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.3/jquery.min.js"></script>
<script type="text/javascript" src="js/jquery.getRgb.js"></script>
<script type="text/javascript" src="js/jquery.neon.js"></script>
<script>$(function() {$.initNeon()});</script>
</head>
<body>
<header>
<p class="preface">This is the demo of <a href="https://github.com/extempl/neon">Neon font JQuery plugin</a></p>
</header>
<fieldset class="main-block">
<legend>Source</legend>
<h1 data-neon>Neon Light</h1>
</fieldset>
<fieldset class="main-block">
<legend>Basic</legend>
<h1 data-neon="basic">Neon Light</h1>
</fieldset>
<fieldset class="main-block">
<legend>Basic with blinking</legend>
<h1 data-neon="basic" data-neon-params="blinks">Neon Light</h1>
</fieldset>
<fieldset class="main-block">
<legend>Custom</legend>
<h1 data-neon="custom">
<span style="color:#f00; text-shadow:0 0 .1em rgba(255, 0, 0, .6),0 0 .6em rgba(255, 0, 0, .2), 0 0 1.2em rgba(255, 0, 0, .4), 0 0 1.8em rgba(255, 0, 0, .6), 0 0 2.4em rgba(255, 0, 0, .8), .02em .02em .1em rgba(0, 0, 0, 1)"><span style="color:#f00" data-neon-params="blinks">N</span>eon</span>
<span style="color:#00f; text-shadow:0 0 .1em rgba(0, 0, 255, .6),0 0 .6em rgba(0, 0, 255, .2), 0 0 1.2em rgba(0, 0, 255, .4), 0 0 1.8em rgba(0, 0, 255, .6), 0 0 2.4em rgba(0, 0, 255, .8), .02em .02em .1em rgba(0, 0, 0, 1)">Li<span style="color:#0f0">g</span>ht</span>
</h1>
</fieldset>
<fieldset class="main-block">
<legend>Auto generates</legend>
<h1 data-neon="auto">Neon Light</h1>
</fieldset>
</body>
</html>