Website Theme for IPhone - What are The Basic Ingredients?

Has anybody made a website theme for the iPhone? Please let me know any tips or resources. Here's my theory: How to make a website theme for iPhone 1. Create a website theme designed for desktop monitors. Try not to make any element larger than 320px (iPhone screen resolution). 2. Create 2 style sheets. One for desktop monitors and another for iPhone. By default, the desktop version of the style sheet is called. The iPhone style sheet would display items in such a way that they fit inside the 320px resolution. 3. Create JavaScript file that detects Screen Size. If screen size is less than than 321px, then the style sheet is replaced by the iPhone version style sheet.

以上就是Website Theme for IPhone - What are The Basic Ingredients?的详细内容,更多请关注web前端其它相关文章!

赞(0) 打赏
未经允许不得转载:web前端首页 » JavaScript 答疑

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址

前端开发相关广告投放 更专业 更精准

联系我们

觉得文章有用就打赏一下文章作者

支付宝扫一扫打赏

微信扫一扫打赏