Answer the question
In order to leave comments, you need to log in
Why are images not showing on mobile devices?
Good time everyone!
Such a question: pictures are not displayed on some mobile devices. It feels like they just don't load. It doesn't look like it has anything to do with styles - in the developer tools everything is fine on the appropriate screen sizes, and besides, on other devices of a similar size everything is fine.
Happened with both regular and background images. Now I understand why the block background is not displayed:
background: url('some-image.png') center / cover no-repeat
Answer the question
In order to leave comments, you need to log in
not all browsers supported the correct alpha channel format, and by default they were loaded as transparent, even with alpha channel 0, as soon as I switched to png without alpha, everything was cured.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question