Back to buttons

Live preview

Preview settings

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

⌘ / Ctrl + S saves locally

Click me ! · SteveBloX

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

By SteveBloX

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 Click me ! · SteveBloX

Click me ! · SteveBloX is an animated CSS button by SteveBloX. Preview the interaction, customize its HTML, styles and JavaScript, or download the files with creator credit.

Effects and categories
Minimal
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">Click me !</button>

CSS


.button {
  border-radius: 8px;
  height: 40px;
  border: none;
  background: #222;
  color: white;
  padding: 15px;
  box-shadow: 0 1px 1px -1px #00000026, 0 2px 1px -1px #00000025,
    0 3px 3px -2px #00000023, 0 7px 6px -2px #00000020,
    0 13px 13px -3px #0000001b, 0 30px 30px -4px #0000000d;
  font-weight: bold;
  font-family: Montserrat;
  cursor: pointer;
  display: flex;
  align-items: center;
  transition: 150ms ease-in-out;
}

.button:active {
  scale: 0.95;
  background: #fff;
  color: black;
  box-shadow: rgba(0, 0, 0, 0.26) 0px 1px 1px -1px,
    rgba(0, 0, 0, 0.24) 0px 2px 3px -2px, rgba(0, 0, 0, 0.19) 0px 5px 9px -3px,
    rgba(0, 0, 0, 0.03) 0px 16px 29px -4.5px;
}