# Hand-Drawn Highlight

> An uneven, slightly tilted marker stroke behind a phrase that looks like it was drawn by hand.

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

## HTML

```html
<p class="sketch-text">We build <span class="sketch-mark">real products</span> for real people.</p>
```

## CSS

```css
.sketch-text {
  max-width: 12em;
  margin: 0;
  color: #1c1917;
  font: 700 26px/1.45 system-ui, sans-serif;
}

.sketch-mark {
  position: relative;
  z-index: 0;
  white-space: nowrap;
}

.sketch-mark::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0.2em -0.3em 0 -0.25em;
  border-radius: 0.8em 0.3em 0.9em 0.25em / 0.5em 0.9em 0.35em 0.8em;
  background: #86efac;
  transform: rotate(-2deg) skewX(-12deg);
}
```

## Notes

- This CSS Hand-Drawn Highlight is 22 lines of pure CSS (0.4 KB) with no JavaScript and no dependencies. It uses transforms.
- In JSX use `className` instead of `class`. In Tailwind projects put the CSS in the global stylesheet.
