Hero Title with Supporting Text
This is a description that provides more context about the page or section.
Basic styling for a hero
A hero section with content and media side-by-side on larger screens.
<div>
<button class="button" data-ulu-dialog-trigger="demo-modal-11">
<span class="button__icon fas fa-expand" aria-hidden="true"></span>
<span>View Fullscreen Demo</span>
</button>
</div>This is a description that provides more context about the page or section.
A centered layout for the hero section.
<div>
<button class="button" data-ulu-dialog-trigger="demo-modal-12">
<span class="button__icon fas fa-expand" aria-hidden="true"></span>
<span>View Fullscreen Demo</span>
</button>
</div>A brief and compelling reason to explore further.
Module Settings
$config: (
"background-color" : #fafafa,
"padding-top": 3rem,
"padding-bottom" : 2rem,
"gap" : (4rem 2rem),
"main-max-width" : true,
"main-min-width" : true,
"media-max-width" : 20rem,
"media-vertical-align" : center
);
| Name | Type | Default | Description |
|---|---|---|---|
| text-align | CssValue | center | Alignment of text within hero. |
| background-color | Color | "color-hero-background" | Background color of the hero |
Change modules $config
@include ulu.component-basic-hero-set(( "property" : value ));
| Name | Type | Description |
|---|---|---|
| $changes | Map |
Map of changes |
Prints component styles
@include ulu.component-basic-hero-styles();
Get a config option
@include ulu.component-basic-hero-get("property");
| Name | Type | Description |
|---|---|---|
| $name | Map |
Name of property |