A HTML and CSS tutorial that builds an image gallery card with a hover effect, where a caption fades in over the image and text slides in from the top and bottom. It suits people learning front-end styling who want to add hover effects to web galleries.
What you’ll learn
✓Structure an image container and caption with HTML
✓Position and size an image overlay with CSS
✓Animate a fade-in overlay and sliding text on hover