Hover the preview card
Watch the info panel slide in smoothly from the edge you choose.
Build a card whose info panel slides in on hover. Pick the direction and colors, then copy the CSS.
Watch the info panel slide in smoothly from the edge you choose.
Set the title, description and overlay color to match your design.
Get self-contained HTML and CSS, no JavaScript required.
The overlay starts translated fully off one edge of the card and transitions to translate(0) on :hover, which CSS animates smoothly between the two states.
No, the entire reveal effect runs on the CSS :hover pseudo-class and a transform transition.
Yes, add the same rule for :focus-within alongside :hover in your stylesheet so keyboard users see the same reveal.