2016-09-11 11:00:49 +00:00
---
2017-07-29 12:02:00 +00:00
title: Responsive helpers
2016-09-11 11:00:49 +00:00
layout: documentation
doc-tab: modifiers
doc-subtab: responsive-helpers
---
2017-07-24 18:22:16 +00:00
{% capture thead %}
< thead >
< tr >
< th >
Class
< / th >
< th >
Mobile< br >
Up to < code > 768px< / code >
< / th >
< th >
Tablet< br >
Between < code > 769px< / code > and < code > 1007px< / code >
< / th >
< th >
Desktop< br >
Between < code > 1008px< / code > and < code > 1199px< / code >
< / th >
< th >
Widescreen< br >
Between < code > 1200px< / code > and < code > 1391px< / code >
< / th >
< th >
FullHD< br >
Above < code > 1392px< / code >
< / th >
< / tr >
< / thead >
{% endcapture %}
{% capture flex %}
< td class = "is-narrow" >
< p class = "notification is-success" > flex< / p >
< / td >
{% endcapture %}
{% capture visible %}
< td class = "is-narrow" >
< p class = "notification is-success" > visible< / p >
< / td >
{% endcapture %}
{% capture hidden %}
< td class = "is-narrow" >
< p class = "notification" > hidden< / p >
< / td >
{% endcapture %}
{% capture unchanged %}
< td class = "is-narrow" >
< p class = "notification" > unchanged< / p >
< / td >
{% endcapture %}
2016-09-11 11:00:49 +00:00
{% include subnav-modifiers.html %}
< section class = "section" >
< div class = "container" >
< h1 class = "title" > Responsive helpers< / h1 >
< h2 class = "subtitle" > < strong > Show/hide content< / strong > depending on the width of the viewport< / h2 >
< hr >
< h3 class = "title" > Show< / h3 >
< div class = "content" >
< p >
You can use one of the following < code > display< / code > classes:
< / p >
< ul >
< li > < code > block< / code > < / li >
< li > < code > flex< / code > < / li >
< li > < code > inline< / code > < / li >
< li > < code > inline-block< / code > < / li >
< li > < code > inline-flex< / code > < / li >
< / ul >
< p > For example, here's what the < code > is-flex< / code > helper works:< / p >
< / div >
2017-03-14 21:00:58 +00:00
< table class = "table is-bordered" >
2017-07-24 18:22:16 +00:00
{{ thead }}
2016-09-11 11:00:49 +00:00
< tbody >
< tr >
< td class = "is-narrow" >
< code > is-flex-mobile< / code >
< / td >
2017-07-24 18:22:16 +00:00
{{ flex }}
{{ unchanged }}
{{ unchanged }}
{{ unchanged }}
{{ unchanged }}
2016-09-11 11:00:49 +00:00
< / tr >
< tr >
< td class = "is-narrow" >
< code > is-flex-tablet-only< / code >
< / td >
2017-07-24 18:22:16 +00:00
{{ unchanged }}
{{ flex }}
{{ unchanged }}
{{ unchanged }}
{{ unchanged }}
2016-09-11 11:00:49 +00:00
< / tr >
< tr >
< td class = "is-narrow" >
< code > is-flex-desktop-only< / code >
< / td >
2017-07-24 18:22:16 +00:00
{{ unchanged }}
{{ unchanged }}
{{ flex }}
{{ unchanged }}
{{ unchanged }}
2016-09-11 11:00:49 +00:00
< / tr >
< tr >
< td class = "is-narrow" >
2017-07-24 18:22:16 +00:00
< code > is-flex-widescreen-only< / code >
2016-09-11 11:00:49 +00:00
< / td >
2017-07-24 18:22:16 +00:00
{{ unchanged }}
{{ unchanged }}
{{ unchanged }}
{{ flex }}
{{ unchanged }}
2016-09-11 11:00:49 +00:00
< / tr >
< tr >
2017-07-24 18:22:16 +00:00
< th colspan = "5" >
2016-09-11 11:00:49 +00:00
< p > Classes to display < strong > up to< / strong > or < strong > from< / strong > a specific breakpoint< / p >
< / th >
< / tr >
< tr >
< td class = "is-narrow" >
< code > is-flex-touch< / code >
< / td >
2017-07-24 18:22:16 +00:00
{{ flex }}
{{ flex }}
{{ unchanged }}
{{ unchanged }}
{{ unchanged }}
2016-09-11 11:00:49 +00:00
< / tr >
< tr >
< td class = "is-narrow" >
< code > is-flex-tablet< / code >
< / td >
2017-07-24 18:22:16 +00:00
{{ unchanged }}
{{ flex }}
{{ flex }}
{{ flex }}
{{ flex }}
2016-09-11 11:00:49 +00:00
< / tr >
< tr >
< td class = "is-narrow" >
< code > is-flex-desktop< / code >
< / td >
2017-07-24 18:22:16 +00:00
{{ unchanged }}
{{ unchanged }}
{{ flex }}
{{ flex }}
{{ flex }}
< / tr >
< tr >
2016-09-11 11:00:49 +00:00
< td class = "is-narrow" >
2017-07-24 18:22:16 +00:00
< code > is-flex-widescreen< / code >
2016-09-11 11:00:49 +00:00
< / td >
2017-07-24 18:22:16 +00:00
{{ unchanged }}
{{ unchanged }}
{{ unchanged }}
{{ flex }}
{{ flex }}
< / tr >
< tr >
2016-09-11 11:00:49 +00:00
< td class = "is-narrow" >
2017-07-24 18:22:16 +00:00
< code > is-flex-fullhd< / code >
2016-09-11 11:00:49 +00:00
< / td >
2017-07-24 18:22:16 +00:00
{{ unchanged }}
{{ unchanged }}
{{ unchanged }}
{{ unchanged }}
{{ flex }}
2016-09-11 11:00:49 +00:00
< / tr >
< / tbody >
< / table >
< div class = "content" >
< p > For the other display options, just replace < code > is-flex< / code > with < code > is-block< / code > < code > is-inline< / code > < code > is-inline-block< / code > or < code > is-inline-flex< / code >
< hr >
< h3 class = "title" > Hide< / h3 >
2017-03-14 21:00:58 +00:00
< table class = "table is-bordered" >
2017-07-24 18:22:16 +00:00
{{ thead }}
2016-09-11 11:00:49 +00:00
< tbody >
< tr >
< td class = "is-narrow" >
< code > is-hidden-mobile< / code >
< / td >
2017-07-24 18:22:16 +00:00
{{ hidden }}
{{ visible }}
{{ visible }}
{{ visible }}
{{ visible }}
2016-09-11 11:00:49 +00:00
< / tr >
< tr >
< td class = "is-narrow" >
< code > is-hidden-tablet-only< / code >
< / td >
2017-07-24 18:22:16 +00:00
{{ visible }}
{{ hidden }}
{{ visible }}
{{ visible }}
{{ visible }}
2016-09-11 11:00:49 +00:00
< / tr >
< tr >
< td class = "is-narrow" >
< code > is-hidden-desktop-only< / code >
< / td >
2017-07-24 18:22:16 +00:00
{{ visible }}
{{ visible }}
{{ hidden }}
{{ visible }}
{{ visible }}
2016-09-11 11:00:49 +00:00
< / tr >
< tr >
< td class = "is-narrow" >
2017-07-24 18:22:16 +00:00
< code > is-hidden-widescreen-only< / code >
2016-09-11 11:00:49 +00:00
< / td >
2017-07-24 18:22:16 +00:00
{{ visible }}
{{ visible }}
{{ visible }}
{{ hidden }}
{{ visible }}
2016-09-11 11:00:49 +00:00
< / tr >
< tr >
2017-07-24 18:22:16 +00:00
< th colspan = "5" >
2016-09-11 11:00:49 +00:00
< p > Classes to hide < strong > up to< / strong > or < strong > from< / strong > a specific breakpoint< / p >
< / th >
< / tr >
< tr >
< td class = "is-narrow" >
< code > is-hidden-touch< / code >
< / td >
2017-07-24 18:22:16 +00:00
{{ hidden }}
{{ hidden }}
{{ visible }}
{{ visible }}
{{ visible }}
2016-09-11 11:00:49 +00:00
< / tr >
< tr >
< td class = "is-narrow" >
< code > is-hidden-tablet< / code >
< / td >
2017-07-24 18:22:16 +00:00
{{ visible }}
{{ hidden }}
{{ hidden }}
{{ hidden }}
{{ hidden }}
2016-09-11 11:00:49 +00:00
< / tr >
< tr >
< td class = "is-narrow" >
< code > is-hidden-desktop< / code >
< / td >
2017-07-24 18:22:16 +00:00
{{ visible }}
{{ visible }}
{{ hidden }}
{{ hidden }}
{{ hidden }}
< / tr >
< tr >
2016-09-11 11:00:49 +00:00
< td class = "is-narrow" >
2017-07-24 18:22:16 +00:00
< code > is-hidden-widescreen< / code >
2016-09-11 11:00:49 +00:00
< / td >
2017-07-24 18:22:16 +00:00
{{ visible }}
{{ visible }}
{{ visible }}
{{ hidden }}
{{ hidden }}
< / tr >
< tr >
2016-09-11 11:00:49 +00:00
< td class = "is-narrow" >
2017-07-24 18:22:16 +00:00
< code > is-hidden-fullhd< / code >
2016-09-11 11:00:49 +00:00
< / td >
2017-07-24 18:22:16 +00:00
{{ visible }}
{{ visible }}
{{ visible }}
{{ visible }}
{{ hidden }}
2016-09-11 11:00:49 +00:00
< / tr >
< / tbody >
< / table >
< / div >
< / section >