Hidden utility classes can be used to shorten instructions or button texts at smaller screen sizes where there is less screen space.
Used in conjuntion with visible
classes to hide/show
content at specific screen sizes.
Hiding content can present issues for assistive technologies so these utility classes should be used carefully. Meaningful content should never be completely removed.
<span class="u-hidden">Hidden at all sizes</span>
<span class="u-hidden-xs">Hidden at xs only</span>
<span class="u-hidden-sm">Hidden at sm only</span>
<span class="u-hidden-md">Hidden at md only</span>
<span class="u-hidden-lg">Hidden at lg only</span>