<h3>Visibility</h3>
<p>The visibility property specifies whether or not an element is visible.</p>
<p><strong>Tip:</strong> Hidden elements take up space on the page. Use the display property to both hide and remove an element from the document layout!</p>
<hr />
<p><code>.u-visible<strong>-{BREAKPOINT REFERENCE}</strong></code> Makes element visible from the breakpoint referenced in the class name.</p>
<p><code>.u-invisible<strong>-{BREAKPOINT REFERENCE}</strong></code> Makes element invisible from the breakpoint referenced in the class name.</p>
<hr />
<p>The above utility classes will allow you to amend the visibility of an element based on the breakpoint reference you use from the default list below:</p>
<pre>
$breakpoints: (
xs: 0px,
sm: 544px,
md: 768px,
lg: 992px,
xl: 1200px,
xxl: 1440px
) !default;
</pre>
<p>Utility classes will be built for all breakpoints apart from ones with a 0px value.</p>
<p><em>The breakpoints here are the same breakpoints used for <stong>@vivid-web/flexboxgrid-sass</stong>.</em></p>
<p>Each breakpoint creates a min-width media query version of the utility class. This allows chaining of class names for responsive display styles. For instance, is you use the <strong>.u-visible</strong> class on an element, the element with have <code>visibility: visibile;</code> from a window width of 0px, and then on if you add <strong>.u-invisible-md</strong> to the same element, it will have <code>visibility: hidden;</code> from a window width of 768px</p>
<h4>Breakpoint Specific</h4>
<p>If you only want a certain style for a specific breakpoint, and no others, you can use the <strong>-specific</strong> suffix.</p>
<p>For example, if you want an element to be invisible from a window width 768px to 992px then you can use <strong>.u-invisible-md-specific</strong></p>
<h3>Visibility</h3>
<p>The visibility property specifies whether or not an element is visible.</p>
<p><strong>Tip:</strong> Hidden elements take up space on the page. Use the display property to both hide and remove an element from the document layout!</p>
<hr />
<p><code>.u-visible<strong>-{BREAKPOINT REFERENCE}</strong></code> Makes element visible from the breakpoint referenced in the class name.</p>
<p><code>.u-invisible<strong>-{BREAKPOINT REFERENCE}</strong></code> Makes element invisible from the breakpoint referenced in the class name.</p>
<hr />
<p>The above utility classes will allow you to amend the visibility of an element based on the breakpoint reference you use from the default list below:</p>
<pre>
$breakpoints: (
xs: 0px,
sm: 544px,
md: 768px,
lg: 992px,
xl: 1200px,
xxl: 1440px
) !default;
</pre>
<p>Utility classes will be built for all breakpoints apart from ones with a 0px value.</p>
<p><em>The breakpoints here are the same breakpoints used for <stong>@vivid-web/flexboxgrid-sass</stong>.</em></p>
<p>Each breakpoint creates a min-width media query version of the utility class. This allows chaining of class names for responsive display styles. For instance, is you use the <strong>.u-visible</strong> class on an element, the element with have <code>visibility: visibile;</code> from a window width of 0px, and then on if you add <strong>.u-invisible-md</strong> to the same element, it will have <code>visibility: hidden;</code> from a window width of 768px</p>
<h4>Breakpoint Specific</h4>
<p>If you only want a certain style for a specific breakpoint, and no others, you can use the <strong>-specific</strong> suffix.</p>
<p>For example, if you want an element to be invisible from a window width 768px to 992px then you can use <strong>.u-invisible-md-specific</strong></p>
/* No context defined for this component. */
There are no notes for this item.