-
Notifications
You must be signed in to change notification settings - Fork 0
/
demo.html
33 lines (31 loc) · 1.17 KB
/
demo.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charSet="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no" />
<title>Hover Visible Demo</title>
<link rel="stylesheet" href="demo.css" />
<script defer="true" src="index.js"></script>
</head>
<body>
<h1>Hover Visible Demo</h1>
<p>What to check:</p>
<ul>
<li>When using a mouse, the hover style is shown.</li>
<li>When using a pen or touch, the hover style is not shown.</li>
<ul>
<li>The default :hover behaivior on android is, if you tap the element, the hover style remains showing.</li>
</ul>
<li>When any key (except for modifier key) is pressed, the hover style will be hidden.</li>
</ul>
<p>To get beautiful CSS with more browser's compatibility, check out our design system or make your own stylesheets.</p>
<div class="form-group">
<a href='./demo.html'>Text Link</a>
<a href='./demo.html'>Text Link2</a>
</div>
<div class="form-group">
<button class="button" type="submit">Submit</button>
<button class="button" type="reset">Reset</button>
</div>
</body>
</html>