-
Notifications
You must be signed in to change notification settings - Fork 5.5k
/
examples_accessibility_hidden.html
33 lines (32 loc) · 1.77 KB
/
examples_accessibility_hidden.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
<div class="row">
<div class="large-6 columns">
<h4>HTML</h4>
{{#markdown}}
```html
<p class="panel">
<strong class="hidden-for-small-only">You are <em>not</em> on a small screen.</strong>
<strong class="hidden-for-medium-up">You are <em>not</em> on a medium, large, xlarge, or xxlarge screen.</strong>
<strong class="hidden-for-medium-only">You are <em>not</em> on a medium screen.</strong>
<strong class="hidden-for-large-up">You are <em>not</em> on a large, xlarge, or xxlarge screen.</strong>
<strong class="hidden-for-large-only">You are <em>not</em> on a large screen.</strong>
<strong class="hidden-for-xlarge-up">You are <em>not</em> on an xlarge screen and up.</strong>
<strong class="hidden-for-xlarge-only">You are <em>not</em> on an xlarge screen.</strong>
<strong class="hidden-for-xxlarge-up">You are <em>not</em> on an xxlarge screen.</strong>
</p>
```
{{/markdown}}
</div>
<div class="large-6 columns">
<h4>Rendered HTML</h4>
<p class="panel">
<strong class="hidden-for-small-only">You are <em>not</em> on a small screen.</strong>
<strong class="hidden-for-medium-up">You are <em>not</em> on a medium, large, xlarge, or xxlarge screen.</strong>
<strong class="hidden-for-medium-only">You are <em>not</em> on a medium screen.</strong>
<strong class="hidden-for-large-up">You are <em>not</em> on a large, xlarge, or xxlarge screen.</strong>
<strong class="hidden-for-large-only">You are <em>not</em> on a large screen.</strong>
<strong class="hidden-for-xlarge-up">You are <em>not</em> on an xlarge screen and up.</strong>
<strong class="hidden-for-xlarge-only">You are <em>not</em> on an xlarge screen.</strong>
<strong class="hidden-for-xxlarge-up">You are <em>not</em> on an xxlarge screen.</strong>
</p>
</div>
</div>