-
Notifications
You must be signed in to change notification settings - Fork 17
/
index.html
100 lines (98 loc) · 5.8 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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<link rel="shortcut icon" href="homepage-assets/favicon.png" type="image/x-icon">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>CSS Only Loaders</title>
<link rel="stylesheet" href="homepage-assets/style.css">
<link rel="stylesheet" href="homepage-assets/mobile.css">
<!-- loaders -->
<link rel="stylesheet" href="loaders/vars.css">
<link rel="stylesheet" href="loaders/simple-circle/simple-circle.css">
<link rel="stylesheet" href="loaders/blasting-circle/blasting-circle.css">
<link rel="stylesheet" href="loaders/rotating-plane/rotating-plane.css">
<link rel="stylesheet" href="loaders/bouncing-circle/bouncing-circle.css">
<link rel="stylesheet" href="loaders/blasting-ripple/blasting-ripple.css">
<link rel="stylesheet" href="loaders/color-pulse-ball/color-pulse-ball.css">
<link rel="stylesheet" href="loaders/clock/clock.css">
<link rel="stylesheet" href="loaders/double-circle/double-circle.css">
<link rel="stylesheet" href="loaders/box-rotation/box-rotation.css">
<link rel="stylesheet" href="loaders/quantum-spinner/quantum-spinner.css">
<link rel="stylesheet" href="loaders/hour-glass/hour-glass.css">
<link rel="stylesheet" href="loaders/recursive-circle/recursive-circle.css">
<link rel="stylesheet" href="loaders/awesome-spin/awesome-spin.css">
<link rel="stylesheet" href="loaders/block-spin/block-spin.css">
<link rel="stylesheet" href="loaders/cascading-bars/cascading-bars.css">
</head>
<body>
<div class="header">
<img src="homepage-assets/logo.svg" class="logo" alt="CSS Only Loader">
<div class="badges">
<!-- Place this tag where you want the button to render. -->
<a class="github-button" href="https://github.com/theanam/css-only-loaders" data-icon="octicon-star" data-show-count="true" aria-label="Star theanam/css-only-loaders on GitHub">Star</a>
<!-- Place this tag where you want the button to render. -->
<a class="github-button" href="https://github.com/theanam/css-only-loaders/fork" data-icon="octicon-repo-forked" data-show-count="true" aria-label="Fork theanam/css-only-loaders on GitHub">Fork</a>
</div>
<div class="instruction">
Click on any loader to view CSS code
</div>
</div>
<div class="container">
<div class="controls">
<div class="control"><span>Size (<span class="lsize">70</span>px):</span> <input class="size" value="70" type="range" min="50" max="200" step="20"></div>
<div class="control"><span>Line (<span class="lline">3</span> px):</span> <input class="line" value="3" type="range" min="1" max="20" step="1"></div>
<div class="control"><span>Duration (<span class="ldur">2</span>s):</span> <input class="dur" value="2" type="range" min="1" max="15" step="1"></div>
<div class="control"><span>Color (<span class="lcolor">#27ae60</span>):</span> <input class="color" type="color" value="#27ae60"></div>
</div>
<div class="loaders">
<div class="loader simple-circle"></div>
<div class="loader blasting-circle"></div>
<div class="loader rotating-plane"></div>
<div class="loader bouncing-circle"></div>
<div class="loader blasting-ripple"></div>
<div class="loader color-pulse-ball"></div>
<div class="loader clock"></div>
<div class="loader double-circle"></div>
<div class="loader quantum-spinner"></div>
<div class="loader box-rotation"></div>
<div class="loader hour-glass"></div>
<div class="loader recursive-circle"></div>
<div class="loader awesome-spin"></div>
<div class="loader block-spin"></div>
<div class="loader cascading-bars"></div>
</div>
<div class="footer">
<!-- npm badge -->
<a href="https://nodei.co/npm/cssonly-loaders-react/"><img src="https://nodei.co/npm/cssonly-loaders-react.png"></a> <br><br>
<!-- Place this tag where you want the button to render. -->
<a class="github-button" href="https://github.com/theanam" data-show-count="true" aria-label="Follow @theanam on GitHub">Follow @theanam</a>
<p class="usage-instructions">
To use the loaders from this project. see the <code>/loaders</code> folder for corresponding css file.
All the attributes are in the <code>/loaders/values.css</code> file. you need to include that file before the loader CSS file.
see the source code to this file <code>/index.html</code> for example usage.
</p>
</div>
<div class="sourceholder">
<div class="source">
<div class="mainnameholder">
<span class="copy rmargin" data-target="current-loader-name">Copy</span>
<input type="text" class="current-loader-name">
</div>
<div>HTML Code <span class="copy" data-target="html-code">Copy</span></div>
<textarea class="html-code"></textarea>
<div>CSS Code <span class="copy" data-target="actual-code">Copy</span> </div>
<textarea class="actual-code"></textarea>
</div>
</div>
<div class="loadingindicator">
<div class="loader simple-circle internalloader"></div>
</div>
</div>
<script src="homepage-assets/jquery-3.4.1.min.js"></script>
<script src="homepage-assets/homepage.js"></script>
<!-- Place this tag in your head or just before your close body tag. -->
<script async defer src="https://buttons.github.io/buttons.js"></script>
</body>
</html>