htmlbeginnermitFeatured
Centered Hero
A centered headline hero with dual CTAs.
3.5k2.2k509379
About this module
The classic centered hero: eyebrow badge, large headline, subtext and a primary + secondary CTA pair.
#hero#centered#cta#landing
Source code
Installation
- 1
Create the files
Create `index.html` and `style.css` in the same folder.
- 2
Paste the code
Copy each file's source into its matching file.
- 3
Open in the browser
Open `index.html` in any modern browser.
Usage
- 1
Copy the HTML
Paste the section markup where you need it.
<link rel="stylesheet" href="style.css" /> <section class="mh-sec mh-hero"> <div class="mh-container mh-center"> <span class="mh-eyebrow">✦ New · v2.0</span> <h1 class="mh-h1">Production-ready modules<br/>for developers</h1> <p class="mh-sub">Discover, preview, customize and copy reusable components, sections and animations for your next project.</p> <div class="mh-actions"> <a href="#" class="mh-btn-primary">Explore modules</a> <a href="#" class="mh-btn-ghost">Submit a module</a> </div> <p class="mh-trust">Trusted by 12,000+ developers · Free forever</p> </div> </section>