79229106

Date: 2024-11-27 06:11:25
Score: 1
Natty:
Report link

I can see that you have set the height of slide class to 500px and image under slide class to 100% , that's why the ratio is not matching as the image height always remain 500px.

.slides {
  width: 500%;
  /*removed height */
  display: flex;
}

Now it will work

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Sujit Gupta