<shinbun-headline>
Headline. Spans all columns of its article. Exposed as `role="heading"`.
Example
大きな見出し
size は xl、l、m、s の4種類。
<shinbun-paper dan="4" chars="8" font-size="0.8rem">
<shinbun-page>
<shinbun-article span="4">
<shinbun-headline size="l" level="2">大きな見出し</shinbun-headline>
<p>size は xl、l、m、s の4種類。</p>
</shinbun-article>
</shinbun-page>
</shinbun-paper>
Attributes
| Name | Type | Description |
|---|
size | "xl"|"l"|"m"|"s" | Size (default: m) |
level | number | Heading level 1-6 (default: 2) |
Properties
| Name | Type | Description |
|---|
size | HeadlineSize | null | |
Methods
None
Slots
| Name | Description |
|---|
(default) | Headline text |
CSS custom properties
| Name | Description |
|---|
--sb-h-xl | Scale of xl relative to the body font size |
--sb-h-l | Scale of l |
--sb-h-m | Scale of m |
--sb-h-s | Scale of s |