Back to buttons

Live preview

Preview settings

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

⌘ / Ctrl + S saves locally

Send Message · mark-edison-jim

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

By mark-edison-jim

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 Send Message · mark-edison-jim

Send Message · mark-edison-jim is an animated CSS button by mark-edison-jim. Preview the interaction, customize its HTML, styles and JavaScript, or download the files with creator credit.

Effects and categories
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

<div class="wrapper">
  <button class="button">
    <svg viewBox="0 0 512 512" xmlns="http://www.w3.org/2000/svg" class="icon">
      <path d="M498.1 5.6c10.1 7 15.4 19.1 13.5 31.2l-64 416c-1.5 9.7-7.4 18.2-16 23s-18.9 5.4-28 1.6L284 427.7l-68.5 74.1c-8.9 9.7-22.9 12.9-35.2 8.1S160 493.2 160 480V396.4c0-4 1.5-7.8 4.2-10.7L331.8 202.8c5.8-6.3 5.6-16-.4-22s-15.7-6.4-22-.7L106 360.8 17.7 316.6C7.1 311.3 .3 300.7 0 288.9s5.9-22.8 16.1-28.7l448-256c10.7-6.1 23.9-5.5 34 1.4z"></path>
    </svg>
    Send Message
  </button>
</div>

CSS


.wrapper {
  box-sizing: border-box;
  padding: 4px;
  border: 3px solid #5e5f5e83;
  border-top: 3px solid #c4c5c4ce;
  border-bottom: 3px solid #5e5d5da1;
  border-radius: 15px;
  box-shadow: 0 2px 5px 2px #8b8b8b8f;
  background-color: #fbfcfb;
}

.icon {
  width: 20px;
}

.button {
  font-family: Arial, Helvetica, sans-serif;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  width: 200px;
  height: 60px;
  border-radius: 100px;
  font-size: 1.3em;
  font-weight: bold;
  border: none;
  box-shadow: 0 1px 20px 0.1px #7a7b7a2f;
  background: linear-gradient(to bottom, #e0e2e0e3 10%, #fdfdfd);
}