-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathindex.html
More file actions
52 lines (43 loc) · 2.58 KB
/
index.html
File metadata and controls
52 lines (43 loc) · 2.58 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- Fonts and CSS Reset -->
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Open+Sans:300,400,600,700">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.0/normalize.min.css">
<!-- PrismJS: Syntax Highlighting -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/prism/1.13.0/themes/prism.min.css">
<script src="https://cdnjs.cloudflare.com/ajax/libs/prism/1.13.0/prism.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/prism/1.13.0/plugins/normalize-whitespace/prism-normalize-whitespace.js"></script>
<!-- Font Awesome -->
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.0.9/css/solid.css">
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.0.9/css/fontawesome.css">
<!-- Mustard UI -->
<link rel="stylesheet" href="https://unpkg.com/mustard-ui@latest/dist/css/mustard-ui.min.css">
<link rel="stylesheet" href="css/blinking.css">
<style>
h5 {
margin-top: 3rem;
}
</style>
<title>Blinking.css - CSS helper for blinking content</title>
</head>
<body>
<div class="container">
<h1>Blinking.css - CSS helper for blinking content</h1>
<p>This uses CSS variables to specify a dynamic blink rate. <a href="https://caniuse.com/#search=css%20var">Check browser compatability here.</a></p>
<p>View the <a href="https://github.com/fitztrev/blinking.css">source on Github</a>.</p>
<h5>Blink every second</h5>
<p class="blinking">This will blink</p>
<pre><code class="language-html"><p class="blinking">This will blink</p></code></pre>
<h5>Blink for 2 seconds</h5>
<p class="blinking" style="--rate: 2s">This will blink</p>
<pre><code class="language-html"><p class="blinking" style="--rate: 2s">This will blink</p></code></pre>
<h5>Blink with custom opacity</h5>
<h2>12<span class="blinking" style="--opacity: 0.4">:</span>00</h2>
<pre><code class="language-html"><h2>12<span class="blinking" style="--opacity: 0.4">:</span>00</h2></code></pre>
</div>
</body>
</html>