# Wavy Underline

> A playful squiggly underline using modern text-decoration properties.

- Category: [CSS Text Effects](https://copy-css.com/category/text)
- Tags: underline, wavy, text-decoration, emphasis
- Live preview: https://copy-css.com/snippets/wavy-underline
- License: Free for personal and commercial use. No signup, no attribution required.

## HTML

```html
<p class="wavy">This is <span>really</span> important.</p>
```

## CSS

```css
.wavy {
  margin: 0;
  color: #111;
  font: 600 26px/1.5 system-ui, sans-serif;
}

.wavy span {
  text-decoration: underline wavy #f43f5e;
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}
```

## Notes

- This CSS Wavy Underline is 11 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.
