Skip to content

Longform Breakout

Longform breakout elements display slightly outside of their containing parent on desktop displays. These allow images, captioned photos, or other visual elements to stand out against paragraphs of longform text.

Open Full Example
<p>
  Here is a test paragraph that has a longform-breakout in the middle of it. 
  <div class="longform-breakout longform-breakout--left"><img src="/test-image-landscape.jpg" alt="Test Image" /></div>
  This element will break out of the left margin for stylistic purposes.
</p>
<p>This is a paragraph in the middle to make the example look cleaner.</p>
<p>This is a paragraph in the middle to make the example look cleaner.</p>
<p>This is a paragraph in the middle to make the example look cleaner.</p>
<p>
  Here is another test paragraph that has a longform-breakout in the middle of it. 
  <div class="longform-breakout longform-breakout--right"><img src="/test-image-landscape.jpg"  alt="Test Image" /></div>
  This element will break out of the right margin for stylistic purposes.
</p>
  • Use to make story elements stand out: Cards, images, and similar media can break out of the content to make the layout more engaging.
  • Avoid on story sections that are not full width: Using in content with a sidebar can result in broken layouts.
ClassnameEffectReason to Use
longform-breakout--leftElement shifts left of the left edge of the containerUse when needed for page’s design
longform-breakout--rightElement shifts right of the right edge of the containerUse when needed for page’s design