A short HTML and CSS tutorial that builds a hover effect in which a colored overlay fades to reveal an image when the cursor moves over it. It covers the file structure, the HTML markup and the CSS styling in Visual Studio Code.
What you’ll learn
✓Set up the file structure for a simple HTML and CSS page
✓Build the markup for an image with a colored overlay
✓Style the overlay so it reveals the image on hover