Skip to content

Hero with giant watermark words

A dark hero where very large words, outlined or at low opacity, pass behind a two-column text. The animation is CSS only, with no script and no image.

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

Description

Built for a brand that wants to stand out through typography: here a cabinetmaker and their wood species, to replace with your trades, towns or materials. The bands of words slide once on load, in under five seconds, then follow page scrolling in browsers that support it: nothing moves continuously, so no pause button is needed. The text sits above the words and the background stays dark in both themes. Word size and the switch to two columns depend on the width of the hero rather than the screen, thanks to container queries, so it also fits a narrow column. Accessibility: the decorative words are written in an attribute and displayed through CSS, so they stay out of the page text, are hidden from screen readers and cannot be selected, the section is named by its level 1 heading, links are 44 px tall with a visible focus, sizes are in rem, and contrast stays above the AA ratio even where the text crosses a word. With prefers-reduced-motion nothing moves and the words stay in place. In forced colors mode the decoration is removed. At 360 px the content falls back to one column with no horizontal scrolling.

Code

Loading the code…

The code of this component in

Archive contents

hero-mots-geants-filigrane-html-tailwind.zip3 files · 5 Ko

  • index.html6 Ko
  • README.md4 Ko
  • LICENSE.md1 Ko

Tags

Updated on December 2, 2026.

Reviews

No reviews yet.

In the same spirit

  • A festival or fair header: dates, venue, featured artists, a real countdown to opening and ticket options.

    • Tailwind
    • React
    • CSS
    • WordPress
    Component
  • Headline, service area, Google rating and job-site photo, with a direct call button and a short callback form (name, phone, need).

    • Tailwind
    • React
    • CSS
    • WordPress
    Component
  • A bright, warm hero: highlighted promise, two buttons, an avatar stack with a rating out of 5, and on the right a customer quote surrounded by result chips.

    • Tailwind
    • React
    • CSS
    • WordPress
    Component
  • Full-screen hero

    Coming soon

    A visual filling the whole screen, the headline set bottom-left over a gradient veil.

    • Tailwind
    • React
    • CSS
    • WordPress
    Component