Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Create examples_accessibility_hidden.html
Add new example for new accessibility classes. Still needs to be finished. :D
- Loading branch information
1 parent
36673cd
commit a9ec4e3
Showing
1 changed file
with
33 additions
and
0 deletions.
There are no files selected for viewing
33 changes: 33 additions & 0 deletions
33
doc/includes/visibility/examples_accessibility_hidden.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
<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> | ||
|