Skip to content

Envelope

Envelopes are used to present full-width content for marketing oriented pages.

Open Full Example
<div class="envelope envelope--standard">
  <h2>A Standard Envelope</h2>
  <p>Here is some content inside this envelope.</p>
</div>

<div class=envelope envelope—flush> <h2>A Flush Envelope</h2> <p>Here is some content inside this envelope.</p> </div>

<div class=envelope envelope—narrow> <h2>A Narrow Envelope</h2> <p>Here is some content inside this envelope.</p> </div>

<div class=envelope envelope—standard envelope—parallax palette-bg-uo-green bg-pattern-waves > <h2>A Standard Parallax Envelope</h2> <p>Here is some content inside this envelope.</p> </div>

An envelope is a full-bleed rectangular block. Envelopes are best used on a page made up of a number of envelopes (a marketing page) each highlighting a particular section, often for purposes of marketing and used on top-level pages of a website.

  • On marketing pages: Use envelopes for sections of marketing pages to break the page up
  • Limit Parallax Backgrounds: Parallax motion can create distractions for many people, depending on its use these effects can cause seizures, migraines, nausea, and dizziness. Refer to the UO Accessibility Guidelines for Motion for more information.
ClassnameEffectReason to Use
envelope--standardStandard large padding on top, bottom, and sidesUse for standard content that does not need to be full-bleed
envelope--flushNo padding on top, bottom, or sidesUse for full-bleed photos, nested hero envelopes, and envelopes with custom spacing
envelope--narrowRed background instead of transparentUse to indicate “destructive” actions, such as deleting data
ClassnameEffectReason to Use
envelope--parallaxFixed background with parallax effectUsed to make the image reveal or move against the text