Skip to content

Outlined heading that fills in

A large heading in hollow letters where each word fills with colour from left to right, one after another.

  • Tailwind
  • React
  • CSS
  • WordPress
Open in a new tab

Description

The heading's three words first appear as a plain outline, then colour fills them from left to right, one word after another, in just over three seconds, and the heading then stays solid. Ideal for a venue, a festival, a gym or an event poster. The heading remains real, selectable text read normally by screen readers, with no image or script, and a solid colour takes over in browsers without background-clip: text. AA contrast in light and dark mode. With prefers-reduced-motion the heading is solid from the start.

Code

Loading the code…

Archive contents

effet-texte-contour-remplissage-html-tailwind.zip3 files · 4 Ko

  • index.html3 Ko
  • README.md3 Ko
  • LICENSE.md1 Ko

Tags

Updated on October 18, 2026.

In the same spirit

  • A product card crossed at the corner by a discount ribbon over which a glint of light sweeps.

    • Tailwind
    • React
    • CSS
    • WordPress
    Component
  • An integrations pitch where seven icons slowly circle a logo on two orbits.

    • Tailwind
    • React
    • CSS
    • WordPress
    Component
  • An offer card topped with a deck of colour swatches that fans out on hover or keyboard focus.

    • Tailwind
    • React
    • CSS
    • WordPress
    Component
  • A show card with a “Live” badge whose white dot sends out a continuously spreading ripple.

    • Tailwind
    • React
    • CSS
    • WordPress
    Component
Outlined heading that fills in — visual effects component, HTML and React | Forge