Two ways to make a drop cap
The CSS initial-letter property is the proper modern way. It sets a number of lines the first letter spans and the browser handles the rest: the descender alignment, the surrounding text wrap, the font-size math. Set initial-letter: 3 on the ::first-letter pseudo-element and the letter takes up the first three lines. Chrome and Edge support it unprefixed from version 110 (2023); Safari supports it as -webkit-initial-letter from Safari 9; Firefox does not support it (MDN browser compatibility data).
The universal fallback uses ::first-letter with manual font-size, float, line-height, and margin values. The math is more fiddly but the result works in every browser since 2009. The Generator outputs both: initial-letter plus the -webkit- version for Safari, and a float fallback wrapped in @supports not for browsers with neither, which today means Firefox. Measured in Firefox, the fallback lands within 2 px of the first line's capitals and the last spanned baseline for the five named fonts (see the measurements below); the Fallback only preview shows the float version.
Design choices that matter
A drop cap is a strong visual signal so it pays to think about what flavor it should be. Editorial publications often use a serif drop cap inside a sans-serif body, leaning on contrast for elegance. Tech publications go the other way. Brand-led sites sometimes use a colored or gradient drop cap to lead the eye into the article.
Number of lines spanned is the second decision. Two lines is conservative and works well at body sizes around 16 to 18 pixels. Three lines is the classic editorial choice. Four or more lines feels heroic and works best at larger body sizes and wider columns.
Common Use Cases
Long-form journalism sites use drop caps to mark the start of an article and to slow the reader down at the right moment. Magazine-style portfolios use them to give every project page a unified opening rhythm. Blog templates ship them as an opt-in style so authors can decide per post whether to include one.
Email newsletters do not generally support initial-letter or ::first-letter (most email clients strip pseudo-elements), so drop caps in email need the first letter wrapped in its own span. The Email HTML output does that with inline styles, and notes that clients which ignore float, such as Outlook for Windows, show a large first letter instead.
How closely the drop cap lines up, measured
Chromium, Edge and Safari use initial-letter, which is exact because the browser does the alignment. Firefox has no initial-letter, so it gets the float fallback, and the fallback is where the work is. Firefox sizes a floated first letter to the glyph itself, so the top of its box is the top of the capital; Chromium (and the email span) use the line box instead. The Generator now sets the fallback's line-height to 2 × (cap height − half the ascent-minus-descent), which puts the capital at the top of the box in both models, sizes the letter so its capitals run from the first line's cap top to the last spanned baseline, and adds a margin-top equal to the space above the first line's capitals. Those numbers come from each font's real files: we measured cap height and ascent/descent from rendered ink in Firefox 142 and Chromium 141 for Georgia 2.05, Times New Roman, Playfair Display, Cormorant Garamond and EB Garamond (these fonts store the same vertical metrics for every OS, so the result does not depend on the platform). system-ui is measured from your own browser's system font.
On October 13, 2026 we took the CSS and the email HTML from the tool for each font at 2, 3 and 4 lines, line-height 1.4, 1.6 and 1.8 (16 px body, plus 20 px at 3 lines; 50 cases, bold), set the paragraph in the same font in capital H's and read from the pixels how far the drop letter's top is from the first line's capitals and its foot from the last spanned baseline. Worst case per font, either edge:
| Font | Previous fallback, Firefox | Fallback now, Firefox | Fallback now, Chromium | Email span now |
|---|---|---|---|---|
| Georgia | 9 px | 1 px | 1 px | 2 px |
| Times New Roman | 10 px | 2 px | 2 px | 2 px |
| Garamond (EB Garamond) | 11 px | 2 px | 2 px | 2 px |
| Playfair Display | 10 px | 2 px | 1 px | 3 px |
| Cormorant Garamond | 10 px | 2 px | 1 px | 2 px |
The old fallback sat 5 to 11 px high in Firefox (line-height 0.85 with no top margin, which suits neither layout model); now every case is within 2 px, and the email span within 3 px. Two assumptions remain: the paragraph is set in the same font as the drop cap (a different body font moves its first line's capitals), and the drop letter is a capital without a descender (a J or Q makes Firefox's glyph-sized box deeper, which can push one more line aside). With Garamond the numbers are EB Garamond's; Monotype Garamond, which Microsoft Office installs, is a different design and can land a few pixels off.