Live preview
Preview settings
Changes appear as you type. Use Tab to test keyboard focus.
⌘ / Ctrl + S saves locally
Get started G · SelfMadeSystem
HTML, CSS or Tailwind, and a little JavaScript. One button or a group of up to six.
By SelfMadeSystem
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 Get started G · SelfMadeSystem
Get started G · SelfMadeSystem is an animated CSS button by SelfMadeSystem. 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="btn btn-primary">
<span class="btn-txt">Get started</span>
<kbd class="btn-kbd">G</kbd>
</button>CSS
.btn {
margin: 0.5rem;
padding: 0.5rem 0.75rem;
border-radius: 0.5rem;
border: none;
font-weight: 600;
cursor: pointer;
}
.btn kbd {
margin: 0.25rem;
padding: 0.125rem 0.5rem;
border-radius: 0.25rem;
}
.btn-primary {
background: linear-gradient(#1f5afe, #0f4cf5);
color: white;
box-shadow: inset 0pt 4pt 3pt -2pt #386fff, 0pt 4pt 5pt -3pt #0009;
border-bottom: 2pt solid #083acd;
transition: all 0.5s ease;
}
.btn-primary:hover {
border-bottom: 4pt solid #083acd;
translate: 0pt -1pt;
}
.btn-primary:active {
box-shadow: inset 0pt 4pt 3pt -2pt #386fff, 0pt 4pt 5pt -3pt #0000;
border-bottom: 1pt solid #083acd;
translate: 0pt 0pt;
}
.btn-primary kbd {
background-color: #3e6eff;
box-shadow: inset 0pt -3pt 3pt -2pt #1f54f0, inset 0pt 3pt 3pt -2pt #658dff,
0pt 2pt 2pt -2pt #0005, 0pt 0pt 0pt 2pt #0d47f0;
}
.btn-base {
background: #386fff;
}