Live preview
Preview settings
Changes appear as you type. Use Tab to test keyboard focus.
⌘ / Ctrl + S saves locally
Paste ▼ · aadium
HTML, CSS or Tailwind, and a little JavaScript. One button or a group of up to six.
By aadium
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 Paste ▼ · aadium
Paste ▼ · aadium is an animated CSS button by aadium. 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
<div class="paste-button">
<button class="button">Paste ▼</button>
<div class="dropdown-content">
<a id="top" href="#">Keep source formatting</a>
<a id="middle" href="#">Merge formatting</a>
<a id="bottom" href="#">Keep text only</a>
</div>
</div>CSS
.paste-button {
position: relative;
display: block;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
.button {
background-color: #4CAF50;
color: #212121;
padding: 10px 15px;
font-size: 15px;
font-weight: bold;
border: 2px solid transparent;
border-radius: 15px;
cursor: pointer;
}
.dropdown-content {
display: none;
font-size: 13px;
position: absolute;
z-index: 1;
min-width: 200px;
background-color: #212121;
border: 2px solid #4CAF50;
border-radius: 0px 15px 15px 15px;
box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
}
.dropdown-content a {
color: #4CAF50;
padding: 8px 10px;
text-decoration: none;
display: block;
transition: 0.1s;
}
.dropdown-content a:hover {
background-color: #4CAF50;
color: #212121;
}
.dropdown-content a:focus {
background-color: #212121;
color: #4CAF50;
}
.dropdown-content #top:hover {
border-radius: 0px 13px 0px 0px;
}
.dropdown-content #bottom:hover {
border-radius: 0px 0px 13px 13px;
}
.paste-button:hover button {
border-radius: 15px 15px 0px 0px;
}
.paste-button:hover .dropdown-content {
display: block;
}