Utility classes to hide elements when viewport is above or below a given breakpoint.
The BEM class syntax is the following:
xsmall | small | medium | large | xlarge | xxlarge | |
---|---|---|---|---|---|---|
down | Hidden | Hidden
Visible
|
Hidden
Visible
|
Hidden
Visible
|
Hidden
Visible
|
Hidden
Visible
|
down | Hidden | Hidden | Hidden
Visible
|
Hidden
Visible
|
Hidden
Visible
|
Hidden
Visible
|
down | Hidden | Hidden | Hidden | Hidden
Visible
|
Hidden
Visible
|
Hidden
Visible
|
down | Hidden | Hidden | Hidden | Hidden | Hidden
Visible
|
Hidden
Visible
|
down | Hidden | Hidden | Hidden | Hidden | Hidden | Hidden
Visible
|
down | Hidden | Hidden | Hidden | Hidden | Hidden | Hidden |
up | Hidden | Hidden | Hidden | Hidden | Hidden | Hidden |
up | Hidden
Visible
|
Hidden | Hidden | Hidden | Hidden | Hidden |
up | Hidden
Visible
|
Hidden
Visible
|
Hidden | Hidden | Hidden | Hidden |
up | Hidden
Visible
|
Hidden
Visible
|
Hidden
Visible
|
Hidden | Hidden | Hidden |
up | Hidden
Visible
|
Hidden
Visible
|
Hidden
Visible
|
Hidden
Visible
|
Hidden | Hidden |
up | Hidden
Visible
|
Hidden
Visible
|
Hidden
Visible
|
Hidden
Visible
|
Hidden
Visible
|
Hidden |
Resize your browser or load on different devices to test the responsive utility classes.
Current breakpoint is: xsmall small medium large xlarge xxlarge
xsmall | small | medium | large | xlarge | xxlarge | |
---|---|---|---|---|---|---|
.ui-hidden--[breakpoint]--down | Hidden
Visible
|
Hidden
Visible
|
Hidden
Visible
|
Hidden
Visible
|
Hidden
Visible
|
Always hidden Visible
|
.ui-hidden--[breakpoint]--up | Always hidden Visible
|
Hidden
Visible
|
Hidden
Visible
|
Hidden
Visible
|
Hidden
Visible
|
Hidden
Visible
|
<!-- down -->
<div class="ui-hidden--xsmall--down">...</div>
<div class="ui-hidden--small--down">...</div>
<div class="ui-hidden--medium--down">...</div>
<div class="ui-hidden--large--down">...</div>
<div class="ui-hidden--xlarge--down">...</div>
<div class="ui-hidden--xxlarge--down">...</div>
<!-- up -->
<div class="ui-hidden--xsmall--up">...</div>
<div class="ui-hidden--small--up">...</div>
<div class="ui-hidden--medium--up">...</div>
<div class="ui-hidden--large--up">...</div>
<div class="ui-hidden--xlarge--up">...</div>
<div class="ui-hidden--xxlarge--up">...</div>