Ignore or disable mobile viewport resize due to keyboard open for text inputs on mobile web?

前端 未结 2 1784
北海茫月
北海茫月 2021-01-08 00:15

I\'m using this CSS-only strategy for responsive background images and responsive background image and contained content ... an example of the type of setup I\'m using for b

2条回答
  •  时光取名叫无心
    2021-01-08 00:45

    It looks like you could simplify your HTML/CSS and that might resolve your problem.

    Why not just add your background-image stuff to and then remove all those extra tags. Down forget to set your viewport meta tag. i always start with this and then change it as needed.

    https://developer.apple.com/library/ios/DOCUMENTATION/AppleApplications/Reference/SafariWebContent/UsingtheViewport/UsingtheViewport.html

提交回复
热议问题