Skip to content

Checkerboard reveal

Forty tiles fade away in a diagonal cascade to unveil a poster visual, in pure CSS.

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

Description

On load the visual is covered by a checkerboard in the card colour; each tile shrinks, tilts slightly and disappears with a delay that follows the diagonal, like a poster being peeled off. The effect plays only once and then gives way to the image: ideal to announce an exhibition, a new product or an event. The example visual is drawn in CSS (gradient sky, sun, hill) and can be replaced by an image or a photo; the grid is set with grid-template-columns and grid-template-rows, the rhythm with the --efda-delay variable of each tile. Only opacity and transform are animated, the checkerboard is hidden from screen readers and the text stays outside the effect, readable at once with AA contrast in light and dark mode. With prefers-reduced-motion the visual shows straight away.

Code

Loading the code…

The code of this component in

Archive contents

effet-damier-apparition-html-tailwind.zip3 files · 4 Ko

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

Tags

Updated on December 2, 2026.

Reviews

No reviews yet.

In the same spirit

  • Cards that fade in as they enter the screen, one after another in each row, without a line of JavaScript and with a static fallback.

    • Tailwind
    • React
    • CSS
    • WordPress
    Component
  • A translucent card with a saturated blur whose sharper edge refracts the colourful shapes drifting behind it, with an opaque fallback when transparency is reduced.

    • Tailwind
    • React
    • CSS
    • WordPress
    Component
  • A help block shaped like a conversation: bubbles, three animated typing dots and clickable quick replies that show your answers to frequent questions, frozen under prefers-reduced-motion.

    • Tailwind
    • React
    • CSS
    • WordPress
    Component