Back to buttons

Live preview

Preview settings

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

⌘ / Ctrl + S saves locally

Join Now · Bodyhc

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

By Bodyhc

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 Join Now · Bodyhc

Join Now · Bodyhc is an animated CSS button by Bodyhc. Preview the interaction, customize its HTML, styles and JavaScript, or download the files with creator credit.

Effects and categories
Hover effects, Icon
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>
  <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 384 512">
    <path d="M0 256L28.5 28c2-16 15.6-28 31.8-28H228.9c15 0 27.1 12.1 27.1 27.1c0 3.2-.6 6.5-1.7 9.5L208 160H347.3c20.2 0 36.7 16.4 36.7 36.7c0 7.4-2.2 14.6-6.4 20.7l-192.2 281c-5.9 8.6-15.6 13.7-25.9 13.7h-2.9c-15.7 0-28.5-12.8-28.5-28.5c0-2.3 .3-4.6 .9-6.9L176 288H32c-17.7 0-32-14.3-32-32z"></path>
  </svg>
  Join Now
</button>

CSS


button {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  border-radius: 20px;
  background-image: linear-gradient(
    90deg,
    #fa7fe6 0%,
    #ff8e61 50%,
    #fa7fe6 100%
  );
  border: 2px solid #9d098431;
  color: #000000;
  font-weight: 600;
  padding: 20px 40px; /* increase padding to make button bigger */
  cursor: pointer;
}
button svg {
  font-size: 24px; /* increase font size to make lightning bolt bigger */
  margin-right: 10px;
  width: 30px;
  height: 20px;
  color: black;
}
button:hover {
  background-image: linear-gradient(
    90deg,
    #ff8e61 0%,
    #fa7fe6 50%,
    #fe9b74 100%
  );
}