Indicate the start of a new section.
Property | Attribute | Type | Default | Description |
---|---|---|---|---|
level |
level |
TitleLevel |
1 | Level of the title. |
nowrap |
nowrap |
boolean |
false | Caps the title element with ellipsis if overflowing. |
role |
role |
AriaRole |
"heading" | Role of the title. |
Property | Description |
---|---|
--title-font-family |
Font family |
--title-font-size-level-1 |
Font size of heading level 1 |
--title-font-size-level-2 |
Font size of heading level 2 |
--title-font-size-level-3 |
Font size of heading level 3 |
--title-font-size-level-4 |
Font size of heading level 4 |
--title-font-size-level-5 |
Font size of heading level 5 |
--title-font-size-level-6 |
Font size of heading level 6 |
--title-font-weight |
Font weight |
--title-line-height |
Line height |
--title-margin |
Margin |
Name | Description |
---|---|
Default content. |
Go here to try the demo.
Andreas Mehlsen | You? |
Licensed under MIT.