Full-Height Scroll Prompt Hero Template
Guide your visitors to the content below with this engaging, full-screen hero and scroll prompt.
This design is perfect for landing pages, long-form storytelling, or any site where you want to create an immersive first impression and clearly indicate that more content awaits "below the fold".
About the Full-Height Scroll Prompt Hero
A full-screen hero section makes a bold statement. However, it can sometimes hide the fact that there's more content on the page. This template solves that problem by adding an explicit call to scroll. A gently animated arrow draws the user's eye downward, providing a clear visual cue for the next action. The entire effect is achieved with CSS, ensuring it's lightweight and reliable.
Features
- Full Viewport Height: The hero fills the screen, creating an immersive experience.
- Clear Scroll Prompt: An animated arrow and text explicitly tell the user to scroll.
- Pure CSS Animation: The arrow's subtle bounce animation is lightweight and dependency-free.
- Accessible Link: The scroll prompt is a functional anchor link, making it accessible for all users.
Code Breakdown
This component is split into CSS for your site's head and HTML for the body. The HTML includes a demo section below the hero to ensure scrolling is possible.
The full-height effect is created by setting min-height: 100vh on the .full-height-hero section. This makes the section at least as tall as the browser's viewport. The section is also set to position: relative to serve as a container for the absolutely positioned scroll prompt.
The scroll prompt link (a) is positioned at the bottom of the hero using position: absolute and bottom: 2rem. A CSS animation defined with @keyframes manipulates the transform: translateY() property of the arrow svg to create the gentle "bounce" effect.