日本語

Reading / Reading text

Prose

Readable typography for paragraphs, headings, lists, and quotations.

Basic usage

Preview

Make information clear

Different ways of reading call for different densities. Finding a single entry in a catalog and understanding a report deserve different layouts.

  • Take density from spacing.
  • Give numbers meaning.
  • Show what remains unknown.
HTML
<div class="prose">
  <h3>Make information clear</h3>
  <p>Different ways of reading call for different densities. <strong>Finding a single entry</strong> in a catalog and understanding a report deserve different layouts.</p>
  <ul><li>Take density from spacing.</li><li>Give numbers meaning.</li><li>Show what remains unknown.</li></ul>
</div>

Native equations

Preview

The resolved share of the WordPress catalog is 35 of 844 statements.

35844×100%
HTML
<div class="prose">
  <p>The resolved share of the WordPress catalog is 35 of 844 statements.</p>
  <div class="equation"><div class="eq-body" role="region" tabindex="0" aria-label="Equation">
    <math xmlns="http://www.w3.org/1998/Math/MathML" display="block" translate="no">
      <mrow><mfrac><mn>35</mn><mn>844</mn></mfrac><mo>×</mo><mn>100</mn><mo>%</mo></mrow>
    </math>
  </div></div>
</div>

Classes & attributes

Class / attributePurpose
.proseA reading container for semantic HTML.
.prose-wideRemoves the normal reading-width limit.
code / kbd / blockquoteInline code, key names, and quotations use standard HTML elements.
.equation / .eq-bodyA scrollable native MathML equation; no additional stylesheet or script is needed.

Usage notes

Choose heading levels by the structure of the document, not by the size you want.

Examples follow your system color scheme. Use ◐ in the header to try automatic, light, and dark themes.