This minimal signup form focuses on a single clear call-to-action, reducing friction and improving conversions.
HTML
<form class="signup-cta">
<h3>Get Started</h3>
<p class="subtitle">Create your account in seconds</p>
<input type="email" placeholder="Email address" required>
<input type="password" placeholder="Password" required>
<button type="button">Create Account</button>
</form>CSS
:root{
--card:#ffffff;
--bg:#f8fafc;
--text:#0f172a;
--muted:#64748b;
--border:#e5e7eb;
--primary:#2563eb;
--primary-dark:#1d4ed8;
}
@media (prefers-color-scheme: dark){
:root{
--card:#020617;
--bg:#020617;
--text:#e5e7eb;
--muted:#94a3b8;
--border:#1f2937;
--primary:#3b82f6;
--primary-dark:#60a5fa;
}
}
.signup-cta{
max-width:240px;
margin:auto;
padding:16px;
background:var(--card);
border-radius:16px;
border:1px solid var(--border);
box-shadow:0 10px 30px rgba(0,0,0,.08);
font-size:12px;
color:var(--text);
text-align:center;
}
.signup-cta h3{
font-size:14px;
margin-bottom:4px;
}
.signup-cta .subtitle{
font-size:11px;
color:var(--muted);
margin-bottom:12px;
}
.signup-cta input{
width:100%;
padding:10px 12px;
margin-bottom:10px;
border-radius:10px;
border:1px solid var(--border);
background:linear-gradient(180deg,var(--card),var(--bg));
color:var(--text);
font-size:12px;
outline:none;
transition:border .2s ease, box-shadow .2s ease;
}
.signup-cta input::placeholder{
color:var(--muted);
}
.signup-cta input:focus{
border-color:var(--primary);
box-shadow:0 0 0 3px rgba(37,99,235,.18);
}
.signup-cta button{
width:100%;
margin-top:6px;
padding:11px;
border:none;
border-radius:12px;
background:linear-gradient(
135deg,
var(--primary),
var(--primary-dark)
);
color:#ffffff;
font-size:12px;
font-weight:600;
cursor:pointer;
transition:transform .15s ease, box-shadow .15s ease;
}
.signup-cta button:hover{
transform:translateY(-1px);
box-shadow:0 8px 20px rgba(0,0,0,.18);
}
.signup-cta button:active{
transform:translateY(0);
box-shadow:none;
}Notes
- High-conversion layout
- Low friction signup
- Landing-page ready
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.
