A
A
Aligatro2015-06-20 20:11:54
css
Aligatro, 2015-06-20 20:11:54

position fixed. How to make a separate css rule for iphone/ipad Safari?

Good day, friends. Please tell me how to enter a separate rule for safari mobile in css? It's just that some elements of the site (pictures) are not displayed on my customer's mobile phone (as far as I understand, in the latest versions of IOS, the problem with position fixed was fixed, but my client does not update the firmware), because they have the background-position: fixed property.
Here on this guinea they do not want to display pictures, the very first and at the stages of work. Please advise how best to get out?
Many thanks in advance for your help.
Ps You can do more radically, remove the fixed property for all safari browsers. Only as a rule for such a prescription? =)
Pss Made it easier, found a php script for browser version detection and entered the necessary rule. Thanks for the help.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Maksim Zverev, 2015-06-20
@Aligatro

You need modernizr , then you already need to do tests, I honestly don’t know if the safari version is displayed there in the classes, but you can pull out the iOS version by parsing the user-agent.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question