开发者

Safari Mobile - what does site need?

开发者 https://www.devze.com 2023-02-09 04:45 出处:网络
What special meta tags, CSS, etc. do I need to take into consideration when ma开发者_运维知识库king my website ready to look and function right in Safari Mobile.

What special meta tags, CSS, etc. do I need to take into consideration when ma开发者_运维知识库king my website ready to look and function right in Safari Mobile.

I didn't take much consideration to Safari Mobile until I got an iPad. I noticed that the sites I create do not always re-size correctly, look well formatted, etc. Nothing major as I am largely a front end developer.

I searched through StackOverflow and have not found a real specific outline of Safari-Mobile considerations


I am assuming that your site is already designed in a fluid manner. One of the big things for me was this:

<meta name="viewport" content="width=device-width" />    

This sets the size of the viewport so when orientation changes it resizes the viewport which allows your design to reflow to the new viewport size.

0

精彩评论

暂无评论...
验证码 换一张
取 消