A small contact form designed for callback requests with minimal required input.
HTML
<form class="contact-callback">
<input type="tel" placeholder="Phone number">
<button type="submit">Request Call</button>
</form>CSS
.contact-callback {
width: 200px;
padding: 0.75rem;
border-radius: 16px;
background: #f9fafb;
display: grid;
gap: 0.45rem;
text-align: center;
}
.contact-callback input {
padding: 0.45rem 0.5rem;
border-radius: 10px;
border: 1px solid #e5e7eb;
font-size: 12px;
}
.contact-callback button {
padding: 0.4rem;
border-radius: 999px;
border: none;
background: #111827;
color: #ffffff;
font-size: 12px;
}
@media (prefers-color-scheme: dark) {
.contact-callback {
background: #020617;
}
.contact-callback input {
background: #020617;
color: #e5e7eb;
border-color: #374151;
}
}Notes
- Single-field conversion
- No message friction
- Ideal for sales funnels
Preview styles shown. Production customization recommended.
Browse More UI Components
Explore hundreds of reusable HTML & CSS UI components built for modern web projects.
Discover buttons, cards, loaders, animations, layouts, and more all with live previews and clean, copy-paste code.
