Screen Size and Web Design

Screen Size and Web Design

iPhone Display Size(inches)
Diagonal measure of the screen, from corner to corner.

iPhone Screen Size(points)
Designing for the web(using CSS or JavaScript). Retina screens have higher pixel density.

iPhone Rendered Pixels
Create an image and want it at the max resolution.

iPhone Physical Pixels
This is the actual screen’s pixel resolution.

iPhone 6 Plus
5.5 in (Display Size)
414 x 736 points (Screen Size Points)
1242 x 2208 pixels (Rendered Pixels 3 x multiple of points used for creating images)
1080 x 1920 pixels (Physical Pixels)

Some website they provide the Device List
http://www.viewportemulator.com/devices/

http://viewportsizes.com/

Here are some popular devices now
iPhone 6
iPhone 6 Plus
iPhone 5S
iPad Mini 2
iPad Air 2

This website is really amazing.
https://www.browserstack.com

References:
http://www.kylejlarson.com/blog/2015/iphone-6-screen-size-web-design-tips/
http://viewportsizes.com/?filter=iphone%205
https://www.browserstack.com/responsive

http://www.viewportemulator.com/devices/
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
screensize是一个用于定义画布大小和背景颜色的参数。在Python中,可以使用turtle模块的screensize()函数来设置画布的大小。例如,使用tu.screensize(500, 500, bg='lightblue')可以将画布的宽度设置为500像素,高度设置为500像素,并将背景颜色设置为浅蓝色。这样设置后,画布的尺寸将大于窗口尺寸,并且可以使用tu.mainloop()函数来显示画布。<span class="em">1</span><span class="em">2</span><span class="em">3</span> #### 引用[.reference_title] - *1* [屏幕尺寸「Screen Size」-crx插件](https://download.csdn.net/download/weixin_38632624/16002897)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT3_1"}}] [.reference_item style="max-width: 33.333333333333336%"] - *2* [Python设置画布大小_turtle.screensize改变不了窗口大小?](https://blog.csdn.net/weixin_39593469/article/details/109955894)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT3_1"}}] [.reference_item style="max-width: 33.333333333333336%"] - *3* [turtle库中setup、screensize、setworldcoordinates 的详细解释](https://blog.csdn.net/weixin_42146296/article/details/103586148)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT3_1"}}] [.reference_item style="max-width: 33.333333333333336%"] [ .reference_list ]
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值