I want to add 6 images in an HTML form. I would like 3 in one row and the other 3 in the next row. the user brings the cursor on any of the images it should enlarge but should not disturb position of another 5 image I would also like the image to enlarge when the cursor is on any of the images. Also, the positions of the other 5 images shouldn't move when one of the images is enlarged.
Does anyone know how to do this with only HTML and CSS?
Here is a solution. I used CSS Grid to make 3 images in a row and the other 3 for the next row. However, you don't have to use this.
The trick I used to enlarge the image was
scale();
.