
Floating Label
Published
28 hand-coded CSS input fields for sign-up, checkout, SaaS onboarding, and HIPAA portals — floating label, notched outline, :has()-driven password strength, 6-digit OTP, tag chip, inline edit, voice search, credit card formatter, and field-sizing: content autogrow textarea. 18 pure CSS + 10 vanilla JS with native form semantics (correct autocomplete tokens) so password managers and iOS SMS autofill just work. Scoped under .if-NN for no-collision pasting, prefers-reduced-motion guarded, framework-agnostic.
Related20 CSS Form Validation16 CSS Floating Label Inputs30 CSS Login Forms20 CSS Custom Select Dropdowns

Published

:focus-within.Published

Published

backdrop-filter blur and an inner highlight — an elegant fit for hero sections.Published

Published

Published

:valid / :invalid feedback. Green tick when correct, red cross when not — driven by :has() and pseudo-elements, no JavaScript required.Published

:placeholder-shown.Published

:has(input:valid/:invalid) — zero scoring JavaScript.Published

<fieldset>. Auto-advance, backspace step-back, and full paste-to-fill — autocomplete="one-time-code" drives SMS auto-suggest.Published

Published

Published

<select> for the country dialling code. Semantic, accessible by default, and styled to match the input seamlessly.Published

<input type="number"> underneath keeps keyboard arrows, validation, and screen-reader semantics intact.Published

<input type="file"> underneath, the visible filename appearing via :has() — accessible, keyboard-friendly, and minimal.Published

$ prefix. inputmode="decimal" brings up the right mobile keyboard; :focus-within lights the prefix to match the field accent.Published

<input type="date"> keeps every native picker behaviour (keyboard, accessibility, browser/OS calendars) while the chrome matches the rest of your form. ::-webkit-calendar-picker-indicator is recoloured to match the accent.Published

<input type="time"> paired with a typographic → divider. Single visual unit while remaining two independent fields for keyboard nav and form submission.Published

<input type="color"> swatch chip paired with a hex text field — both accept the same name and submit value via the underlying form. Sibling-+ selectors mirror the swatch state.Published

<input type="search"> so AT announces it as a search field.Published

@, common email domains are suggested in a keyboard-navigable dropdown. aria-controls + aria-expanded + role="listbox" make it a proper combobox.Published

<textarea> that grows with its content using field-sizing: content — no JS observer needed. Falls back to a min-height on browsers without support.Published

Published

<input type="range"> with custom track/thumb styling and a live value bubble that follows the thumb. Honest accessibility — keyboard arrows, screen-reader announcement, real form value.Published

https:// prefix that visually integrates with the field. Submit value is the full URL; users only type the host portion.Published

inputmode="numeric" on mobile; pattern validation; autocomplete="cc-number".Published

type="password" ↔ type="text". aria-pressed reflects state for screen readers; autocomplete="new-password" for sign-up flows.Published

Published
Tweak the exact look in our visual generators — no signup, instant copy-paste.
15 mouse-aware 3D tilt hover cards — e-commerce product spotlight, glassmorphism parallax team card, interactive pricing tier, holographic NFT collectible, pop-out mascot, dark tech grid with border glow, media player album art, blog article preview, cyberpunk neon glow, dashboard KPI widget, minimalist real estate, flip-to-back tilt, mobile app showcase, course learning card, and a Pure CSS touch-friendly tilt. Vanilla JS writes --rx/--ry/--mx/--my; all rendering stays in CSS on the GPU.
24 hand-coded CSS animated card patterns organised by what triggers the motion, not by card style. Scroll and entrance triggers: staggered grid reveals, @starting-style mount-in, scroll-driven scale and fade on animation-timeline: view(), View Transitions API card-to-detail morphs, blur-to-sharp lazy image loading, and FLIP re-layout when a filter changes. State-change triggers: add-to-cart success morph, like and save particle burst, expand and collapse to intrinsic height with calc-size(), swipe-to-dismiss on Pointer Events, and skeleton-to-loaded crossfade. Data-driven triggers: count-up KPI metrics, SVG sparkline draw-on-enter, and progress ring fill on load. Ambient idle loops: breathing glow, floating drift, animated gradient mesh backgrounds, conic rotating borders, auto-cycling testimonial decks, and live status pulses. Plus four hover patterns where the effect is the topic itself: cursor spotlight, holographic foil glare, corner ribbon slide, and horizontal accordion expand. Every card is scoped under a .ac-NN prefix for no-collision pasting, guards prefers-reduced-motion, animates compositor-only properties, and ports unchanged to React, Vue, Svelte, Astro, Next.js and Tailwind.
22 hand-coded CSS avatars for chat apps, team dashboards, comment threads, account menus, and social profiles. Covers circular and squircle shapes, gradient and conic story rings, hexagon clip-path crops, online status dots, notification count badges, verified checkmarks, stacked facepiles with plus-N overflow, initials fallbacks for users without photos, broken-image recovery, avatar pickers, and a size scale system where the ring, badge, and status dot all scale from a single custom property.