-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
84 lines (79 loc) · 2.05 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
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
79
80
81
82
83
84
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width" />
<title>CSS prefs</title>
<link rel="icon" href="favicon.png" sizes="any" />
<link rel="stylesheet" href="styles.css" />
</head>
<body>
<main>
<h1>What are my CSS user preferences?</h1>
<ul role="list">
<li id="prm">
<b>prefers-reduced-motion</b>
<i>no-preference</i>
<i>reduce</i>
</li>
<li id="prt">
<b>prefers-reduced-transparency</b>
<i>no-preference</i>
<i>reduce</i>
</li>
<li id="pc">
<b>prefers-contrast</b>
<i>no-preference</i>
<i>less</i>
<i>more</i>
<i>custom</i>
</li>
<li id="fc">
<b>forced-colors</b>
<i>none</i>
<i>active</i>
</li>
<li id="pcs">
<b>prefers-color-scheme</b>
<i>light</i>
<i>dark</i>
</li>
<li id="prd">
<b>prefers-reduced-data</b>
<i>no-preference</i>
<i>reduce</i>
</li>
</ul>
<p aria-hidden="true">
<small>
<strong>Legend:</strong>
<span
style="
background: var(--highlight-color);
color: var(--bg-color);
padding: 0 0.15em 0.1em;
forced-color-adjust: none;
"
>active value</span
><span class="forced-colors-hidden"
> ,
<span style="color: var(--no-support-color)">
not supported in browser
</span>
</span>
</small>
</p>
<p>
These six CSS media features are defined in the “User Preference Media
Features” section of the
<a href="https://drafts.csswg.org/mediaqueries-5/"
>Media Queries Level 5 module</a
>.
</p>
</main>
<footer>
<small>
<a href="https://github.com/simevidas/css-prefs">GitHub</a>
</small>
</footer>
</body>
</html>