Slide Down Card is a small front-end animation project built with pure HTML and CSS.
It shows a card with a winter scene and a fire scene. When you hover the card, both layers slide up to reveal the transition effect.
- Hover-based slide animation
- Two visual themes (winter and fire)
- Animated decorative castle icons
- Custom cursor icons for body and image layers
- No JavaScript, no dependencies
index.html– main page markupcss/reset.css– reset stylescss/style.css– layout, hover animation, keyframescss/import.css– CSS importsimg/– background imagesicon/– UI and cursor icons
- Clone or download this repository.
- Open
index.htmlin your browser.
You can also run it with a local static server if you prefer.
- Replace images in
img/to change the card themes. - Update icon files in
icon/to change cursors and decorations. - Edit animation timing and movement values in
css/style.css.
This project is licensed under the MIT License. See the LICENSE file for details.