Skip to content

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
Open in a new tab

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

Archive contents

features-mise-en-page-magazine-html-tailwind.zip3 files · 5 Ko

  • index.html6 Ko
  • README.md4 Ko
  • LICENSE.md1 Ko

Tags

Updated on December 3, 2026.

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
    Component
  • 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
    Component
  • 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
    Component
  • 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
    Component