Element Armory
Product
Features
Pricing
Examples
Add to Chrome - It's
Free
Copy HTML
Copy CSS
Copy Prompt
Capture your own elements →
Add to Chrome - It's
Free
HTML
<div class="demo"> <form class="form" onsubmit="return false"> <label class="label" for="email">Email address</label> <div class="input-row"> <input class="input" id="email" type="email" placeholder="you@example.com" autocomplete="off" /> <button class="btn" type="submit">Subscribe</button> </div> <p class="hint">No spam. Unsubscribe anytime.</p> </form> </div>
CSS
* { box-sizing: border-box; margin: 0; padding: 0; } body { font-family: system-ui, -apple-system, sans-serif; background: #f8fafc; display: flex; align-items: center; justify-content: center; min-height: 100vh; padding: 24px; } .form { display: flex; flex-direction: column; gap: 8px; width: 100%; max-width: 380px; } .label { font-size: 13px; font-weight: 500; color: #374151; } .input-row { display: flex; gap: 8px; } .input { flex: 1; height: 40px; padding: 0 12px; border: 1px solid #d1d5db; border-radius: 8px; font-size: 14px; font-family: inherit; color: #111827; background: #fff; transition: border-color 150ms, box-shadow 150ms; outline: none; } .input::placeholder { color: #9ca3af; } .input:focus { border-color: #3b82f6; box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15); } .btn { height: 40px; padding: 0 16px; background: #3b82f6; color: #fff; border: none; border-radius: 8px; font-size: 13px; font-weight: 600; font-family: inherit; cursor: pointer; transition: background 150ms; white-space: nowrap; } .btn:hover { background: #2563eb; } .hint { font-size: 12px; color: #9ca3af; }