Expanding Image on Hover using CSS

Axolobit on YouTubeWatch on YouTube

SaveMark complete

Sign in to save videos and track what you’ve finished.

BeginnerWeb Design8 min

About this video

This tutorial shows how to build an image that expands on hover using HTML and CSS, then combines it with a text reveal on the image. It walks through the file structure, the HTML and the style.css file, and it suits people learning to build interface effects in code.

What you’ll learn

  • Build an image that expands on hover using HTML and CSS
  • Add a text reveal to an image with CSS
  • Structure the index.html and style.css files for a hover effect