# Drop Cap

> A classic editorial drop cap using the ::first-letter pseudo-element.

- Category: [CSS Text Effects](https://copy-css.com/category/text)
- Tags: drop cap, first-letter, editorial, typography, blog
- Live preview: https://copy-css.com/snippets/drop-cap
- License: Free for personal and commercial use. No signup, no attribution required.

## HTML

```html
<p class="drop-cap">Once upon a time, a single line of CSS turned a plain paragraph into something worth reading.</p>
```

## CSS

```css
.drop-cap {
  max-width: 260px;
  margin: 0;
  color: #374151;
  font: 15px/1.6 Georgia, serif;
}

.drop-cap::first-letter {
  float: left;
  margin: 4px 8px 0 0;
  color: #b45309;
  font: 700 3.6em/0.8 Georgia, serif;
}
```

## Notes

- This CSS Drop Cap is 13 lines of pure CSS (0.2 KB) with no JavaScript and no dependencies.
- In JSX use `className` instead of `class`. In Tailwind projects put the CSS in the global stylesheet.
