Skip to content
← Typography Tools

Drop Cap Generator

Build an editorial drop cap with the modern initial-letter property plus a universal ::first-letter fallback.

Related Tools

Related Tool
Typography Scale
Related Tool
CSS Counter Style Generator
Related Tool
Text Shadow Designer
Related Tool
Variable Font Playground

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:

FontPrevious fallback, FirefoxFallback now, FirefoxFallback now, ChromiumEmail span now
Georgia9 px1 px1 px2 px
Times New Roman10 px2 px2 px2 px
Garamond (EB Garamond)11 px2 px2 px2 px
Playfair Display10 px2 px1 px3 px
Cormorant Garamond10 px2 px1 px2 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.

Frequently Asked Questions

What is the difference between initial-letter and ::first-letter?
::first-letter is a CSS pseudo-element that selects the first letter of a block, and it works in every browser. initial-letter is a property you set inside that rule to make the letter span a number of lines, with the browser handling the size and alignment. It is cleaner and more precise, but support is uneven: Chrome and Edge 110+ (2023) unprefixed, Safari 9+ only as -webkit-initial-letter, and no Firefox support (MDN browser compatibility data). That is why the generated CSS includes both spellings and a float fallback.
Will the drop cap work in email clients?
Mostly not as CSS: many email clients drop ::first-letter rules. Use the Email HTML output instead, which wraps the first letter in a span with inline styles (float, font-size, line-height). Clients that ignore float, such as Outlook for Windows, will show a large first letter on the first line rather than a true drop cap.
How does initial-letter handle letters with descenders?
The CSS spec says the browser aligns the cap-height of the letter to the top of the specified line span, and any descender (the tail of J or Q) drops below the last spanned line. The float fallback lines up the capital's top and baseline the same way, but in Firefox a floated first letter's box includes the descender, so a J or Q can push one more line of text aside; initial-letter is the better choice where it is supported.
Can I drop-cap punctuation?
Technically yes, and it produces unusual results. ::first-letter selects the first typographic letter unit, which includes any leading punctuation. An opening quote that starts a paragraph gets drop-capped along with the next letter. To avoid this, wrap the first word in a span and apply your drop cap to the span first-letter instead of the paragraph first-letter.
How big should a drop cap be?
For the fallback, the letter's cap height should run from the top of the first line's capitals to the baseline of the last spanned line: (lines − 1) × line-height plus one body cap height. Divide by the font's cap-height ratio to get the font-size; at 3 lines, a 1.6 line-height and Georgia (cap height 0.6925 em, measured) that is about 5.62em. The Generator also sets the line-height and top margin that put the letter's capitals level with the first line's in Firefox and Chromium, from each font's measured metrics. With initial-letter, the browser does the sizing itself.
Should I use a different font for the drop cap?
Often, yes: the drop cap can have its own font-family in the ::first-letter rule, and a serif cap over a sans-serif body (or the reverse) is a classic pairing. The Generator offers six choices; Playfair Display and Cormorant Garamond load from Google Fonts for the preview, so add them to your own site too if you use them.
What about RTL languages like Arabic?
::first-letter selects the first letter in reading order, which in a right-to-left paragraph sits at the right edge. Joined scripts such as Arabic connect letters, so isolating the first one can break the word's shaping; test with your real text before using a drop cap there. The Generator previews left-to-right text only.
Does this affect SEO or readability?
No SEO effect: the drop cap is visual styling, and the paragraph text is unchanged for search engines. Screen readers read the word normally. Keep the color contrast of the drop cap readable like any other text.