# Circle Reveal Button

> An outlined button that fills with a circle growing out from its center on hover.

- Category: [CSS Buttons](https://copy-css.com/category/buttons)
- Tags: clip-path, radial, expand, fill, hover
- Live preview: https://copy-css.com/snippets/circle-reveal-button
- License: Free for personal and commercial use. No signup, no attribution required.

## HTML

```html
<button class="btn-reveal">Discover more</button>
```

## CSS

```css
.btn-reveal {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 14px 32px;
  border: 2px solid #0f766e;
  border-radius: 12px;
  background: #fff;
  color: #0f766e;
  font: 600 16px/1 system-ui, sans-serif;
  cursor: pointer;
  transition: color 0.4s ease;
}

.btn-reveal::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: #0f766e;
  clip-path: circle(0% at 50% 50%);
  transition: clip-path 0.45s ease;
}

.btn-reveal:hover,
.btn-reveal:focus-visible {
  color: #fff;
}

.btn-reveal:hover::before,
.btn-reveal:focus-visible::before {
  clip-path: circle(100% at 50% 50%);
}

.btn-reveal:focus-visible {
  outline: 3px solid #5eead4;
  outline-offset: 3px;
}
```

## Notes

- This CSS Circle Reveal Button is 38 lines of pure CSS (0.7 KB) with no JavaScript and no dependencies. It uses transitions, clip paths and keyboard focus styles.
- In JSX use `className` instead of `class`. In Tailwind projects put the CSS in the global stylesheet.
