Live preview
Preview settings
Changes appear as you type. Use Tab to test keyboard focus.
⌘ / Ctrl + S saves locally
Enter Room · CodeGame2010
HTML, CSS or Tailwind, and a little JavaScript. One button or a group of up to six.
By CodeGame2010
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 Enter Room · CodeGame2010
Enter Room · CodeGame2010 is an animated CSS button by CodeGame2010. 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> Enter Room
<svg viewBox="0 0 16 16" class="bi bi-arrow-right" fill="currentColor" height="20" width="20" xmlns="http://www.w3.org/2000/svg">
<path d="M1 8a.5.5 0 0 1 .5-.5h11.793l-3.147-3.146a.5.5 0 0 1 .708-.708l4 4a.5.5 0 0 1 0 .708l-4 4a.5.5 0 0 1-.708-.708L13.293 8.5H1.5A.5.5 0 0 1 1 8z" fill-rule="evenodd"></path>
</svg>
</button>CSS
button {
display: flex;
align-items: center;
justify-content: center;
width: 200px;
height: 50px;
border-radius: 50px;
border: 0;
outline: 0;
font-size: 18px;
background: #08f;
color: #fff;
}
svg {
margin: 0 0 0 10px;
}
button:hover svg {
margin: 0 0 0 25px;
transition: 0.3s;
}
button:not(:hover) svg {
transition: 0.3s;
}
button:active {
transform: scale(0.9, 0.9);
transition: 200ms;
}
button:not(:active) {
transition: 200ms;
}