# Marker Highlight

> A hand-drawn style highlighter stroke behind important words.

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

## HTML

```html
<p class="text-marker">Copy. Paste. <span>Ship it.</span></p>
```

## CSS

```css
.text-marker {
  margin: 0;
  color: #111;
  font: 700 30px/1.3 system-ui, sans-serif;
}

.text-marker span {
  padding: 0 4px;
  background: linear-gradient(transparent 55%, #fde047 55%);
}
```

## Notes

- This CSS Marker Highlight is 10 lines of pure CSS (0.2 KB) with no JavaScript and no dependencies. It uses linear gradients.
- In JSX use `className` instead of `class`. In Tailwind projects put the CSS in the global stylesheet.
