Glowing border card in WordPress
A card whose outline is travelled by an endless violet and cyan streak of light.
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, Carte à bordure lumineuse
* Description: Une carte dont le contour est parcouru par un trait de lumière violet et cyan qui tourne sans fin. Ajoute la composition « Carte à bordure lumineuse » à 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-bordure-lumineuse
*<!-- wp:group {"tagName": "article", "className": "efbl", "layout": {"type": "default"}} -->
<article class="wp-block-group efbl"><!-- wp:group {"className": "efbl__inner", "layout": {"type": "default"}} -->
<div class="wp-block-group efbl__inner"><!-- wp:paragraph {"className": "efbl__eyebrow"} -->
<p class="efbl__eyebrow">Formule la plus choisie</p>
<!-- /wp:paragraph -->
<!-- wp:heading {"level": 3, "className": "efbl__title", "anchor": "efbl-titre"} -->
<h3 class="wp-block-heading efbl__title" id="efbl-titre">Identité visuelle complète</h3>
<!-- /wp:heading -->
<!-- wp:paragraph {"className": "efbl__text"} -->
<p class="efbl__text">Logo, palette, typographies et guide d’utilisation livrés en six semaines, avec deux allers-retours inclus.</p>
<!-- /wp:paragraph -->
<!-- wp:paragraph {"className": "efbl__price"} -->:root {
--efbl-card: #ffffff;
--efbl-line: #e4e1ec;
--efbl-text: #17151f;
--efbl-body: #4b4759;
--efbl-c1: #7c3aed;
--efbl-c2: #06b6d4;
--efbl-accent: #5b21b6;
--demo-effet-bordure-lumineuse-bg: #f4f3f8;
--demo-effet-bordure-lumineuse-text: #17151f;
}
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

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

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