Visibility
Control an element's visibility without changing the display property.
Contents
Overview
Set the visibility
of an element, meaning its display
is not modified and will not affect layout. .invisible
elements still take up space in the page. Content will be hidden both visually and for assistive technology/screen reader users.
Examples
Use .invisible
and .visible
as needed.
SASS Reference
Variables
The available Customization options, or Sass variables, that can be customized for this grouping of utility classes.
Name | Type | Default | Description |
---|---|---|---|
$enable-utility-visibility |
boolean | true |
Enable the generation of the visibility utility classes. |
Mixins
invisible
Set an element to be invisible.
visible
Set an element to be visible.