Hero section with scroll-driven parallax animation. Content fades out as images slide in on scroll.
Scroll down through the hero to see the parallax effect. The content fades out while a center image rises and side images slide in.
Scroll down to explore a beautiful parallax experience with images sliding into view.
Keep scrolling for the next demo...
Use the background-text attribute to add large decorative text behind the images.
A curated selection of the finest experiences.
Keep scrolling for the next demo...
Adjust the dark overlay with overlay-opacity="0.7" for a more dramatic effect.
A heavier overlay makes the content text more readable on busy backgrounds.
End of demos
Customize the hero appearance with CSS custom properties.
| Property | Default | Description |
|---|---|---|
--hero-accent-color |
#bfa15f |
Accent color for decorative elements |
--hero-text-color |
#f0f0f0 |
Default text color inside the hero |
--hero-bg-gradient-start |
#d4af37 |
Start color for the background text gradient |
--hero-bg-gradient-end |
#f4e4b0 |
End color for the background text gradient |