Skip to main content

Utilities

Bootstrap includes dozens of utilities—classes with a single purpose to reduce the frequency of highly repetitive declarations.

Invisible content

The .invisible class can be used to toggle only the visibility of an element, meaning its display is not modified and the element can still affect the flow of the document.

<div class="invisible">...</div>
// Class
.invisible {
  visibility: hidden;
}

// Usage as a mixin
.element {
  @include invisible;
}