-
Notifications
You must be signed in to change notification settings - Fork 0
/
mixer.html
78 lines (67 loc) · 2.56 KB
/
mixer.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
<!DOCTYPE html>
<html>
<head>
<title>The title of the document</title>
<link rel="stylesheet" href="assets/css/cyberpsycho.css">
<link rel="stylesheet" href="assets/css/glitch.css">
<link rel="stylesheet" href="assets/css/page.css">
<link rel="stylesheet" href="assets/css/micromodal.css">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<script src="https://unpkg.com/micromodal/dist/micromodal.min.js"></script>
<script>
window.onload = function() {
MicroModal.init();
}
</script>
</head>
<body style="background-color: black">
<!-- <div id="example" class="center">
<h1 class="glitch" data-text="cyberpsych0siis">cyberpsych0siis</h1>
<p>
<form action="/login" method="GET">
<input type="submit" value="Login">
</form>
</p>
</div> -->
<p>
<input type="text" placeholder="Username">
<input type="password" placeholder="Password">
<input type="submit">
<!-- <meter min="0" low="10" optimum="50" high="90" max="100"></meter> -->
<progress value="50" max="100"></progress>
<progress max="100"></progress>
<button data-micromodal-trigger="modal-1">Open Modal</button>
</p>
<p class="warning">
This is a warning
</p>
<p class="error">
This is an error
</p>
<p class="error-fill">
This is a serious error
</p>
<!-- TEST MODAL -->
<div class="modal micromodal-slide" id="modal-1" aria-hidden="true">
<div class="modal__overlay" tabindex="-1" data-micromodal-close>
<div class="modal__container" role="dialog" aria-modal="true" aria-labelledby="modal-1-title">
<header class="modal__header">
<h2 class="modal__title" id="modal-1-title">
Micromodal
</h2>
<button class="modal__close" aria-label="Close modal" data-micromodal-close></button>
</header>
<main class="modal__content" id="modal-1-content">
<p>
Try hitting the <code>tab</code> key and notice how the focus stays within the modal itself. Also, <code>esc</code> to close modal.
</p>
</main>
<footer class="modal__footer">
<button class="modal__btn modal__btn-primary">Continue</button>
<button class="modal__btn" data-micromodal-close aria-label="Close this dialog window">Close</button>
</footer>
</div>
</div>
</div>
</body>
</html>