HTML

Hero Section

admin by @admin ADMIN
6m ago
May 31, 2026
Public
0 0 up · 0 down Sign in to vote
The big "above the fold" intro on a landing page: large heading, sub-copy, primary CTA, optional supporting image. Keep the H1 unique to the page and one per document.
HTML
Raw
<section class="hero">
    <div class="hero-content">
        <h1>The fastest way to store and search your code snippets</h1>
        <p class="hero-sub">
            Stop hunting through old gists, Notion pages, and dotfiles for
            that one snippet you know you saved.
        </p>
        <div class="hero-ctas">
            <a class="btn btn-primary" href="/signup">
                Start free — no credit card
            </a>
            <a class="btn btn-secondary" href="/demo">
                Watch the 90-second demo →
            </a>
        </div>
        <p class="hero-meta">
            Free forever for personal use. No credit card required.
        </p>
    </div>

    <div class="hero-art" aria-hidden="true">
        <img src="/hero-screenshot.png"
             alt=""
             width="800" height="600"
             loading="eager"
             fetchpriority="high">
    </div>
</section>
Tags

Save your own code snippets

Create a free account and build your private vault. Share publicly whenever you want.