Home > front end >  CSS gets messy on Safari
CSS gets messy on Safari

Time:11-23

My website looks good on Chrome but somehow looks messy on Safari, I don't know why, I'm using Safari 14.

Here's the code: Https://github.com/halamh/nft-preview-card

And the website: Https://halamh.github.io/nft-preview-card/

CodePudding user response:

I was able to make it work in Safari. You need to remove

display: flex;

from .main-container and then for img remove

min-width: 50%;

and replace with

max-width: 100%;

See screenshots from Safari below.

Screenshot 1

Screenshot 2

  • Related