Editorial text in columns with a drop cap
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
Description
Ideal for an "Our story" page, a profile or a blog post. CSS columns balance the text themselves, the drop cap uses initial-letter with a floated fallback for browsers that do not support it yet, and the round quote mark is a float with a circular shape (shape-outside) that the text wraps around. No JavaScript: the real text is in the HTML and shows immediately, with no layout shift or flash. Accessibility: article named by its level 2 heading, level 3 subheadings, quote marked up as figure, blockquote and figcaption, decorative quote mark hidden from screen readers, date in a time element, 17 px body text in rem so it follows zoom, automatic French hyphenation, contrast above the AA ratio in light and dark modes. No animation. One column from 360 px, two on tablets, three on large screens.
Code
Loading the code…
The code of this component in
Reviews
No reviews yet.
In the same spirit

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

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.
- Tailwind
- React
- CSS
- 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