Back to buttons

Live preview

Preview settings

Changes appear as you type. Use Tab to test keyboard focus.

⌘ / Ctrl + S saves locally

BurgiSimon's hover button

HTML, CSS or Tailwind, and a little JavaScript. One button or a group of up to six.

By BurgiSimon

Remix button

Button submission checks

Checks will appear after the preview updates.

Buttons only: no full pages, forms, cards or navigation. Put scripts in the JavaScript tab. Tailwind uses utilities from HTML and JavaScript; use complete class names. Custom CSS supports plain CSS, without @apply, imports or plugins.

Accessibility quick check

Waiting for the rendered preview…

Try Tab, Enter and Space in the preview. Check the focus ring, hover and disabled states, then enable Reduce motion. These checks are guidance, not an accessibility certification.

Explore freely here. Remix to publish your version with credit to the creator.

About BurgiSimon's hover button

BurgiSimon's hover button is an animated CSS button by BurgiSimon. Preview the interaction, customize its HTML, styles and JavaScript, or download the files with creator credit.

Effects and categories
Hover effects
Using this example
Copy the HTML or download index.html, style.css and app.js. Test keyboard focus, motion and contrast in your own project.

Usage, Tailwind and licensing questions

Read the source files

HTML

<button class="button-3d">
  <span class="button-text">CLICK ME</span>
</button>

CSS


.button-3d {
  position: relative;
  top: -6px;
  border: 1.5px rgb(0, 0, 0) inset;
  border-radius: 10px;
  transition: all 40ms ease-out;
  margin-top: 1px;
  margin-bottom: 1px;
  margin-left: 2px;
  margin-right: 2px;
  padding-top: 10px;
  padding-bottom: 10px;
  padding-left: 10px;
  padding-right: 10px;
  color: #666666;

  box-shadow: 0 0 0 1px #ebebeb inset, 0 0 0 2px rgba(255, 255, 255, 0.1) inset,
    0 8px 0 0 #f5f5f5, 0 8px 8px 1px rgba(0, 0, 0, 0.2);
  background-color: #fff;
}

.button-text {
  font-family: sans-serif;
  font-weight: 0;
  font-size: 16px;
  letter-spacing: 3px;
  color: #000000;
  border-bottom: 0px solid;
}

.button-3d:hover {
  border: 2px rgb(0, 0, 0) inset;
}

.button-3d:active {
  top: 1px;
  color: #666666;
  box-shadow: 0 0 0 1px #ebebeb inset, 0 0 0 1px rgba(255, 255, 255, 0.15) inset,
    0 1px 3px 1px rgba(136, 136, 136, 0.479);
  background-color: #fff;
}