htmlbeginnermit

Big Typography Hero

A hero dominated by oversized display type.

5.0k3.7k805675

About this module

A bold editorial hero where the headline is the visual — oversized type with a highlighted keyword.

#hero#typography#display

Source code

Installation

  1. 1

    Create the files

    Create `index.html` and `style.css` in the same folder.

  2. 2

    Paste the code

    Copy each file's source into its matching file.

  3. 3

    Open in the browser

    Open `index.html` in any modern browser.

Usage

  1. 1

    Copy the HTML

    Paste the section markup where you need it.

    <link rel="stylesheet" href="style.css" />
    <section class="mh-sec mh-type-hero">
      <div class="mh-container">
        <h1 class="mh-h1">Make the<br/><em>module</em> your own.</h1>
        <div class="mh-meta">
          <p class="mh-sub">Copy-paste components, styled your way.</p>
          <a href="#" class="mh-link">Explore the library →</a>
        </div>
      </div>
    </section>
Overview
Categorysections
Frameworkhtml
Difficultybeginner
Licensemit
Versionv1.0.0
Features
  • Fully responsive
  • Semantic markup
  • No dependencies
Traits
  • ResponsiveYes
  • Dark modeYes
  • AccessibleYes
  • Production readyYes
Browser support
  • Chrome 90+
  • Firefox 90+
  • Safari 15+
  • Edge 90+

Related modules

Command Palette

Search modules and jump anywhere