Skip to main content

Display

Set block, inline, or inline-block display behavior

Overview #

Use the display utilities to set an element’s display behavior.

Examples #


<div class="rvt-display-inline rvt-color-white rvt-bg-blue">Display inline</div>
<div class="rvt-display-block rvt-color-white rvt-bg-green">Display block</div>
<div class="rvt-display-inline-block rvt-color-white rvt-bg-orange">Display inline-block</div>
<div class="rvt-display-none">Display none</div>

Usage #

Set an element’s display CSS property using the following classes:

  • .rvt-display-inline
  • .rvt-display-block
  • .rvt-display-inline-block
  • .rvt-display-none