Explanation:
- Grid Layout: The images are displayed in a responsive grid layout. The grid automatically adjusts the number of columns based on the screen size.
- Hover Effect: A slight zoom effect is applied when the user hovers over the images, making the gallery interactive.
- CSS Styling: The
gallery
class defines the layout and styling for the images, including border radius, box shadow, and hover transformation.
Adding Images:
- Replace
"girl1.jpg"
,"girl2.jpg"
, etc., with the actual paths to your images. Make sure the images are stored in the same directory as the HTML file or update the paths accordingly. - You can add or remove
<img>
tags to include more or fewer images in your gallery.
This template will create a simple and elegant photo album showcasing the images you choose.