Vivid colour feature section in WordPress
Three cards in saturated flat colours (yellow, pink, electric blue) with high-contrast text and a dark variant. Every colour pair is measured at AA: 5.5:1 at worst.
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, Section de fonctionnalités aux couleurs vives
* Description: Trois cartes à aplats saturés (jaune, rose, bleu électrique) aux textes très contrastés, avec une variante sombre. Chaque couple de couleurs est mesuré en AA : 5,5 : 1 au plus bas. Ajoute la composition « Section de fonctionnalités aux couleurs vives » à 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-features-fond-couleurs-vives-dopamine
*<!-- wp:html -->
<section class="fdv" lang="fr" aria-labelledby="fdv-titre" data-fdv>
<header class="fdv__head">
<div class="fdv__headtext">
<h2 class="fdv__title" id="fdv-titre">Tout ce qui vous attend à la salle</h2>
<p class="fdv__intro">Prise Directe, salle d'escalade de bloc à Nantes. Pas besoin de matériel ni d'expérience : on vous prête les chaussons à votre première visite.</p>
</div>
<a class="fdv__cta" href="#tarifs">Voir les tarifs et horaires</a>
</header>
<ul class="fdv__list">
<li class="fdv-card fdv-card--yellow" data-fdv-card="yellow">
<span class="fdv-card__badge"><svg class="fdv-card__icon" viewBox="0 0 24 24" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false"><path d="M13.5 3 5.5 13.5h6L10.5 21l8-10.5h-6Z"/></svg></span>:root {
--fdv-font: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
--fdv-bg: #fff8ec;
--fdv-text: #16131d;
--fdv-muted: #3d3847;
--fdv-edge: #16131d;
--fdv-shadow: #16131d;
--fdv-cta: #16131d;
--fdv-cta-text: #fff8ec;
--fdv-yellow: #ffd60a;
--fdv-yellow-ink: #16131d;
--fdv-pink: #ff4fa3;Free component: copy it freely, including for commercial projects.
Other features components in WordPress
Features components in WordPress
Six features as frosted glass cards over a slowly drifting aurora mesh gradient. Pause button, still background under prefers-reduced-motion, CSS and a light script.
- Tailwind
- React
- CSS
- WordPress

The key message stays pinned while the background changes colour and illustration at each scroll step. CSS sticky, a light script, stacked cards as fallback under prefers-reduced-motion.
- Tailwind
- React
- CSS
- WordPress

A six-cell bento grid: key figures, SVG sparklines, a quote and icons. All the text is in the HTML and the animation is CSS only, with no script at all.
- Tailwind
- React
- CSS
- WordPress

A two-offer table: checked rows, a column highlighted from top to bottom and one call-to-action button per offer. Pure HTML and CSS, no script at all.
- Tailwind
- React
- CSS
- WordPress

A magazine-style article: title band, standfirst, drop cap, subheadings and a pull quote, set in three columns of equal height. Pure CSS, no script at all.
- Tailwind
- React
- CSS
- WordPress

A simulator that estimates the heating bill and the yearly savings in euros from the floor area, current energy and chosen works.
- Tailwind
- React
- CSS
- WordPress