Web Hosting Forum - Net Hosting Talk

We are a community of individuals and businesses passionate about web hosting. Let's build, learn, and grow together.

CSS aspect-ratio property on images not applying correctly on firefox in tailwind css



This is my first real project, I am currently studying web development.

I have a simple gallery and I wanted to give the images a specific aspect ratio. Everything looks like I want on Chrome and Safari but on Firefox I have this issue where the property is not applying correctly and the images are displayed incorrectly.

You don't have permission to view the spoiler content. Log in or register now.

Chrome and Safari ( this is what I want ) :


I am sure I am missing something simple but I can't seem to get my head around it.
Any help is much appreciated! Thank you!
  • Advertisement
  • Advertisement