CSS Inputs & Hover Effects
Form fields and hover interactions — floating labels, focus glows, underline reveals and fill transitions.
Floating Label Input
FeaturedA label that starts centered and gracefully floats up to the corner when the field is focused or filled.
Underline Grow Input
FeaturedMinimalist input whose bottom border grows in from the left on focus for an elegant material reveal.
Image Zoom Hover
FeaturedA framed visual that smoothly zooms in on hover while the overlay text stays sharp — common in image galleries.
Underline Reveal Link
FeaturedA link whose underline wipes in from left to right on hover and wipes out the same way on leave.
Icon Bounce Hover
FeaturedA pill chip whose arrow shoots up and to the right on hover, while the surface fills with color.
iOS Toggle Switch
FeaturedA pure-CSS iOS-style toggle with a hidden checkbox, smooth slide, and accessible focus ring.
Custom Checkbox
FeaturedA native checkbox restyled with appearance:none — fills with indigo and draws an animated checkmark when checked.
Tooltip on Hover
FeaturedA dark chip that reveals a small floating tooltip with an arrow above it on hover, using only pseudo-elements.
Avatar Stack
FeaturedFour overlapping circular avatars that fan out horizontally on hover, with each one rising to the top in turn.
Blue input whose label floats above on focus or when filled.
Minimal input whose ocean underline grows from left on focus.
Slate framed tile whose ocean content zooms in on hover.
Text field with a 3px blue focus ring and a label that lights via :focus-within. Keeps a visible focus state instead of removing it.
Search input with a CSS-drawn magnifier and a ⌘K keycap hint, lighting ocean on focus.
Dashed blue dropzone that tints and lifts on hover, with a CSS-drawn upload arrow.
Icon-only field that widens into a full ocean search box on hover or focus.
Chips and a flexible field sharing one bordered box, with `:focus-within` lighting the whole container rather than just the input.
Quantity control with the field flanked by its own increment buttons, in tabular figures so the box does not resize between 9 and 10.
Search bar with a leading scope menu and a trailing key hint, all three sharing one focus ring so the control reads as a single field.
Composer that switches to name-matching the moment an at-sign is typed, the partial token tinted in place and the handle right-aligned so the list scans as one column.
Title field with the URL it will produce rendered underneath, domain greyed and slug highlighted, so the transformation is visible before anything is saved.
Three-way segmented control whose emerald puck springs across to whichever radio option is chosen.
Comment box that keeps its formatting toolbar folded away until the textarea is focused, when the bar unrolls above it.
A payment form whose card preview turns a half rotation onto its magnetic-stripe back the moment the security-code field is reached, so the number you are being asked for is the one facing you.
Six single-character boxes that mark themselves filled with `:not(:placeholder-shown)`, so state comes from the value rather than a class.
Colour choices as real radios with selection drawn by `outline` rather than a border, so picking one costs no layout shift.
Currency input with a fixed symbol and a unit picker sharing the box, the figure in tabular numerals so the caret does not shift as digits change.
Masked field whose eye control drops its strike-through by scaling the bar to nothing from the centre, so the icon changes meaning without a second glyph swapping in.
Domain input with a fixed https:// addon that fills sky blue and pops a checkmark once the field is focused.
Search pill whose placeholder scrolls through example queries on a loop and dims out of the way once you focus it.
A card with a dog-eared corner that peels further back on hover, the folded flap turning over to show the pale reverse of the sheet while the teal saved-to-library mark filed beneath it is uncovered.
Labelled range input with a violet filled track and a thumb that swells with a soft halo on hover.
Text field with a conic character-budget ring in the trailing slot, filling further as the field takes focus.
Two versions of the same layout stacked in one frame with a draggable-looking divider between them, which sweeps to the left edge on hover and wipes the greyed-out before state off the finished design.
Five-star radio rating where hovering previews the score and clicking locks it in, no JavaScript.
Read-only key field with a trailing button whose label rolls up to a green confirmation while it is held.
A value picker whose options are pasted around a real cylinder in three dimensions, curving away above and below the selection band and rolling one notch to the next value on hover.
Text that reads as plain copy until hovered, when a pencil slides in and the field reveals itself.
Compact textarea that expands on focus while a teal character-count chip fades in at the corner.