Pure CSS reveal on scroll in WordPress
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.
Here is an excerpt of this component's code in WordPress. The full code is free for members, ready to copy into your project.
This component also comes in
The code in WordPress
<?php
/**
* Plugin Name: Forge, Apparitions au défilement en CSS pur
* Description: Des cartes qui apparaissent en fondu à leur entrée à l’écran, l’une après l’autre dans chaque rangée, sans une ligne de JavaScript et avec un repli statique. Ajoute la composition « Apparitions au défilement en CSS pur » à l'éditeur de blocs.
* Version: 1.0.0
* Requires at least: 6.6
* Requires PHP: 8.1
* Author: Forge
* License: GPL-2.0-or-later
* License URI: https://www.gnu.org/licenses/gpl-2.0.html
* Text Domain: forge-effet-apparition-defilement-css-natif
*<!-- wp:html -->
<section class="eacn eacn-section" data-eacn-variant="monter" aria-labelledby="eacn-titre">
<div class="eacn-reveal eacn-head">
<p class="eacn-eyebrow">Cycles Aubépine · atelier vélo à Lyon</p>
<h2 class="eacn-title" id="eacn-titre">Tout pour rouler l’esprit tranquille</h2>
<p class="eacn-intro">Six prestations réalisées dans notre atelier de la Guillotière, avec des pièces d’origine et un devis avant chaque intervention.</p>
</div>
<ul class="eacn-group">
<li class="eacn-card">
<span class="eacn-badge"><svg class="eacn-icon" viewBox="0 0 24 24" width="24" height="24" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false"><path d="M14.5 5.5a4 4 0 0 0-5 5L4 16l4 4 5.5-5.5a4 4 0 0 0 5-5L16 12l-3-3z"/></svg></span>
<h3 class="eacn-name">Révision complète</h3>
<p class="eacn-desc">Freins, transmission, roues et serrages contrôlés puis réglés en une demi-journée.</p>:root {
--eacn-paper: #f4f7f2;
--eacn-card: #ffffff;
--eacn-line: #d5dfd6;
--eacn-ink: #13231a;
--eacn-muted: #43544a;
--eacn-accent: #166534;
--eacn-accent-soft: #dcfce7;
--eacn-accent-text: #ffffff;
--demo-effet-apparition-defilement-css-natif-bg: #e8eee6;
--demo-effet-apparition-defilement-css-natif-text: #13231a;
}Free component: copy it freely, including for commercial projects.
Other visual effects components in WordPress
Visual effects components in WordPress
A large heading whose words turn from grey to ink as the page scrolls, then whose key phrases get a marker stroke, in pure CSS with a readable fallback.
- Tailwind
- React
- CSS
- WordPress

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

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

A paragraph whose words turn from grey to full ink, one by one, as the page scrolls, in pure CSS with a plain-text fallback.
- Tailwind
- React
- CSS
- WordPress

Four offset, translucent sine waves gently roll along the bottom of a section, each at its own pace.
- Tailwind
- React
- CSS
- WordPress

A row of cards where the hovered card lights up with a halo that follows the mouse and brightens its edge closest to the pointer.
- Tailwind
- React
- CSS
- WordPress