-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathexample-usage.html
50 lines (49 loc) · 1.39 KB
/
example-usage.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Flying Focus Ring Demo</title>
<style>
/* just to reduce eye strain: */
body {
background: #333;
color: snow;
font-family: avenir, arial, tahoma, monospace;
}
a {
color: lime;
}
button {
padding: 0.25rem;
}
</style>
</head>
<body>
<p>
<button>Click me first</button> and then hit <code>tab</code> to go
between
<button>buttons</button>
</p>
<button>btn</button>
<p>Some text in between. <button>btn</button></p>
<button>btn</button>
<p>Some text in between. <button>btn</button></p>
<p><button>btn</button></p>
<a
href="https://css-tricks.com/animated-position-of-focus-ring/"
target="_blank"
>https://css-tricks.com/animated-position-of-focus-ring/</a
>
<p><button>btn</button></p>
<a href="https://github.com/mmahandev/FocusOverlay" target="_blank"
>https://github.com/mmahandev/FocusOverlay</a
>
<p><button>btn</button></p>
<script
src="https://cdn.jsdelivr.net/gh/hchiam/[email protected]/flying-focus.js"
integrity="sha384-R/GTkKePjxM+7NiHK3HnRFNqvOoCND50qZZgnhKN8NsT3cRIIrTRw1EdS61VgW3W"
crossorigin="anonymous"
></script>
</body>
</html>