--- title: Responsive helpers layout: documentation doc-tab: helpers doc-subtab: helpers-visibility breadcrumb: - home - documentation - helpers - helpers-visibility --- {% capture thead %} Class {% for breakpoint_hash in site.data.breakpoints %} {% assign breakpoint = breakpoint_hash[1] %} {{ breakpoint.name }}
{% if breakpoint.id == 'mobile' %} Up to {{ breakpoint.to }}px {% elsif breakpoint.id == 'fullhd' %} {{ breakpoint.from }}px and above {% else %} Between {{ breakpoint.from }}px and {{ breakpoint.to }}px {% endif %} {% endfor %} {% endcapture %} {% capture flex %} Flex {% endcapture %} {% capture visible %} Visible {% endcapture %} {% capture hidden %} Hidden {% endcapture %} {% capture unchanged %} Unchanged {% endcapture %} {% include elements/anchor.html name="Show" %}

You can use one of the following display classes:

For example, here's how the is-flex helper works:

{{ thead }} {{ flex }} {{ unchanged }} {{ unchanged }} {{ unchanged }} {{ unchanged }} {{ unchanged }} {{ flex }} {{ unchanged }} {{ unchanged }} {{ unchanged }} {{ unchanged }} {{ unchanged }} {{ flex }} {{ unchanged }} {{ unchanged }} {{ unchanged }} {{ unchanged }} {{ unchanged }} {{ flex }} {{ unchanged }} {{ flex }} {{ flex }} {{ unchanged }} {{ unchanged }} {{ unchanged }} {{ unchanged }} {{ flex }} {{ flex }} {{ flex }} {{ flex }} {{ unchanged }} {{ unchanged }} {{ flex }} {{ flex }} {{ flex }} {{ unchanged }} {{ unchanged }} {{ unchanged }} {{ flex }} {{ flex }} {{ unchanged }} {{ unchanged }} {{ unchanged }} {{ unchanged }} {{ flex }}
is-flex-mobile
is-flex-tablet-only
is-flex-desktop-only
is-flex-widescreen-only

Classes to display up to or from a specific breakpoint

is-flex-touch
is-flex-tablet
is-flex-desktop
is-flex-widescreen
is-flex-fullhd

For the other display options, just replace is-flex with is-block is-inline is-inline-block or is-inline-flex

{% include elements/anchor.html name="Hide" %}
{{ thead }} {{ hidden }} {{ visible }} {{ visible }} {{ visible }} {{ visible }} {{ visible }} {{ hidden }} {{ visible }} {{ visible }} {{ visible }} {{ visible }} {{ visible }} {{ hidden }} {{ visible }} {{ visible }} {{ visible }} {{ visible }} {{ visible }} {{ hidden }} {{ visible }} {{ hidden }} {{ hidden }} {{ visible }} {{ visible }} {{ visible }} {{ visible }} {{ hidden }} {{ hidden }} {{ hidden }} {{ hidden }} {{ visible }} {{ visible }} {{ hidden }} {{ hidden }} {{ hidden }} {{ visible }} {{ visible }} {{ visible }} {{ hidden }} {{ hidden }} {{ visible }} {{ visible }} {{ visible }} {{ visible }} {{ hidden }}
is-hidden-mobile
is-hidden-tablet-only
is-hidden-desktop-only
is-hidden-widescreen-only

Classes to hide up to or from a specific breakpoint

is-hidden-touch
is-hidden-tablet
is-hidden-desktop
is-hidden-widescreen
is-hidden-fullhd
{% include elements/anchor.html name="Other visibility helpers" %}
is-invisible Adds visibility hidden
is-hidden Hides element
is-sr-only Hide elements visually but keep the element available to be announced by a screen reader