Object-Fit Cover not working on Safari Mobile

2.2k Views Asked by At

I've noticed a small problem. The object-fit: cover doesnt seem to work on Safari Mobile. Is there any workaround for it? If u can see in the image, the background image is leaking out of the container. enter image description here

Below is a snippet of my code:

        .background-img{
            width:100%;
            min-height: 100%;
            object-fit: cover;
            z-index:1;
        }
0

There are 0 best solutions below