shinbun-components

<shinbun-box>

Box for explanations and key points. A direct `h3` is the title. Spans all columns inside an article; in the page grid it can be placed with `span`, `y`, `x`, `w`.

Example

囲み

解説や要点。

<shinbun-paper dan="4" chars="8" font-size="0.8rem">
  <shinbun-page>
    <shinbun-box span="2">
      <h3>囲み</h3>
      <p>解説や要点。</p>
    </shinbun-box>
  </shinbun-page>
</shinbun-paper>

Attributes

NameTypeDescription
spannumberNumber of columns (1-15)
ynumberStart column (1-15)
xnumberStart position on the line axis (1-60)
wnumberLines occupied on the line axis (1-60)

Properties

None

Methods

None

Slots

NameDescription
(default)h3 title and text

CSS custom properties

None