-
Notifications
You must be signed in to change notification settings - Fork 843
/
Copy pathindex.html
38 lines (37 loc) · 1.19 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>overscroll-behavior demo</title>
<link href="style.css" rel="stylesheet">
<script src="main.js" defer></script>
</head>
<body>
<header>
<h1>overscroll-behavior demo</h1>
</header>
<main>
</main>
<section class="chatbox">
<header>
<h2>Active chat</h2>
</header>
<div class="messages">
<p class="me">Chris: Hello!</p>
<p class="you">Bob: I am well — how are you?</p>
<p class="me">Chris: Fine thanks, just documenting overscroll-behavior</p>
<p class="you">Bob: Oooh, sounds hard!</p>
<p class="me">Chris: Nah, it's OK really. It is a useful property to have for mobile apps especially.</p>
<p class="you">Bob: Cool, where can I learn more?</p>
</div>
<form>
<input type="text" aria-label="Enter your chat message here" autofocus>
<button>Send</button>
</form>
</section>
<footer>
<p>Copyright nobody; inspired by <a href="https://ebidel.github.io/demos/chatbox.html">ebidel's chatbox demo</a>.</p>
</footer>
</body>
</html>