Input Field Styles

Dynamic and vibrant input field designs

Floating Label Input

.input-container-1 { position: relative; }\n.input-1:focus + label { transform: translateY(-20px); font-size: 12px; }

Neon Border Input

.input-2:focus { border: 2px solid #ef4444; box-shadow: 0 0 10px #ef4444; }

Icon Reveal Input

🔍
.input-container-3 { position: relative; }\n.input-3:focus + .icon { opacity: 1; transform: translateX(0); }

Underline Expand Input

.input-4 { border-bottom: 2px solid #3b82f6; }\n.input-4:focus { border-bottom-width: 4px; }

Clear-Button Input

.input-container-5 { position: relative; }\n.clear-btn { display: none; }\n.input-5:not(:placeholder-shown) + .clear-btn { display: block; }

Password Toggle Input

.input-container-6 { position: relative; }\n.toggle-btn { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); }

Character Counter Input

0/50
.input-container-7 { position: relative; }\n.counter { position: absolute; bottom: -20px; right: 0; }

Morphing Outline Input

.input-8 { border: 2px solid #3b82f6; transition: border-radius 0.3s; }\n.input-8:focus { border-radius: 20px; }

Focus Glow Input

.input-9:focus { box-shadow: 0 0 10px #facc15; }

Shimmer Placeholder Input

.input-10::placeholder { animation: shimmer 2s infinite; }\n@keyframes shimmer { 50% { opacity: 0.5; } }

Animated Placeholder Input

.input-11::placeholder { transform: translateY(0); transition: transform 0.3s; }\n.input-11:focus::placeholder { transform: translateY(-10px); }

Bubble Input

.input-12:focus { transform: scale(1.05); transition: transform 0.3s; }

Elastic Border Input

.input-13 { border: 2px solid #3b82f6; }\n.input-13:focus { border-width: 4px; animation: elastic 0.5s; }\n@keyframes elastic { 50% { border-width: 6px; } }

Validation Shake Input

.input-14.invalid { animation: shake 0.3s; }\n@keyframes shake { 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }

Tooltip Helper Input

Enter text
.input-container-15 { position: relative; }\n.input-15:focus + .tooltip { opacity: 1; }

Autofill Highlight Input

.input-16:-webkit-autofill { background: #fef3c7; }

Placeholder Fade Input

.input-17::placeholder { opacity: 1; transition: opacity 0.3s; }\n.input-17:focus::placeholder { opacity: 0; }

Gradient Background Input

.input-18 { background: linear-gradient(45deg, #ef4444, #3b82f6); color: #fff; }\n.input-18::placeholder { color: #e5e7eb; }

Glass Input

.input-19 { background: rgba(255, 255, 255, 0.1); backdrop-filter: blur(10px); color: #fff; }

Ghost Input

.input-20 { border: none; background: transparent; }\n.input-20:focus { outline: none; border-bottom: 1px solid #fff; }

Ionic Input

.input-21 { border: 2px solid #3b82f6; border-radius: 20px; }\n.input-21:focus { box-shadow: 0 0 5px #3b82f6; }

Kinetic Input

.input-22:focus { transform: scale(1.05); animation: kinetic 0.5s; }\n@keyframes kinetic { 50% { transform: scale(1.1); } }

Label Slide Input

.input-container-23 { position: relative; }\n.input-23:focus + label { transform: translateX(-20px); }

Masked Input

.input-24 { font-family: monospace; }\n/* Use JS for masking (e.g., phone number) */

Neon Glow Input

.input-25:focus { box-shadow: 0 0 15px #ef4444; animation: neon 1s infinite; }\n@keyframes neon { 50% { box-shadow: 0 0 20px #ef4444; } }

Parallax Background Input

.input-26 { background: linear-gradient(45deg, #ef4444, #3b82f6) fixed; color: #fff; }

Quick-Fill Input

.input-27:focus { background: #fef3c7; transition: background 0.2s; }

Ribbon Label Input

.input-container-28 label { background: #ef4444; transform: skew(-20deg); position: absolute; top: -10px; left: 10px; padding: 2px 8px; }

Scroll-Aware Input

.input-29.scrolled { border-color: #facc15; }\n/* Use JS to add 'scrolled' class on scroll */

Split Reveal Input

.input-30 { border-bottom: 2px solid #3b82f6; }\n.input-30:focus { animation: split 0.5s forwards; }\n@keyframes split { to { border-bottom-width: 4px; } }

Sticky Label Input

.input-container-31 label { position: sticky; top: -10px; background: #fff; padding: 0 4px; }

Thermal Input

.input-32 { background: linear-gradient(45deg, #ff0000, #0000ff); animation: thermal 2s infinite; color: #fff; }\n@keyframes thermal { 50% { background: linear-gradient(45deg, #0000ff, #ff0000); } }

Underline Swipe Input

.input-33 { border-bottom: 2px solid #3b82f6; }\n.input-33:focus { animation: swipe 0.5s forwards; }\n@keyframes swipe { to { border-bottom-color: #ef4444; } }

Video Background Input

.input-container-34 { position: relative; }\n.input-34 { background: transparent; }\n.bg-video { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; }

Wave Underline Input

.input-35 { border-bottom: 2px solid #3b82f6; }\n.input-35:focus { border-image: linear-gradient(to right, #3b82f6, #ef4444) 1; animation: wave 1s infinite; }\n@keyframes wave { 50% { border-image-slice: 1; } }

X-Ray Input

.input-36:focus { filter: contrast(1.5); }

Yes-No Toggle Input

.input-37 { appearance: none; width: 40px; height: 20px; background: #d1d5db; border-radius: 20px; }\n.input-37:checked { background: #3b82f6; }

Zigzag Border Input

.input-38 { border-bottom: 2px solid #3b82f6; }\n.input-38:focus { border-image: url('data:image/svg+xml,...') 1; }

Zoom-In Placeholder Input

.input-39::placeholder { transform: scale(0.8); transition: transform 0.3s; }\n.input-39:focus::placeholder { transform: scale(1); }

Bounce Input

.input-40:focus { animation: bounce 0.5s; }\n@keyframes bounce { 50% { transform: translateY(-5px); } }

Clip-Path Input

.input-41:focus { clip-path: circle(100% at center); transition: clip-path 0.3s; }

Depth Shadow Input

.input-42:focus { box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5); }

Echo Input

.input-43:focus { animation: echo 0.5s; }\n@keyframes echo { 50% { opacity: 0.5; } }

Folded Label Input

.input-container-44 label { transform: rotateX(90deg); transition: transform 0.3s; }\n.input-44:focus + label { transform: rotateX(0); }

Gradient Border Input

.input-45 { border: 2px solid; border-image: linear-gradient(45deg, #ef4444, #3b82f6) 1; }

Haloed Input

.input-46:focus { box-shadow: 0 0 15px #facc15, inset 0 0 5px #facc15; }

Inset Shadow Input

.input-47:focus { box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.5); }

Jazz Outline Input

.input-48:focus { outline: 2px dashed #ef4444; outline-offset: 2px; }

Kaleidoscope Input

.input-49:focus { background: radial-gradient(circle, #ef4444, #3b82f6, #facc15); color: #fff; }

Liquid Mask Input

.input-50:focus { background: url('data:image/svg+xml,...') center/cover; color: #fff; }