We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
设备屏幕由一个个的物理像素点组成,一个点(pt)等于 1/72 英寸。平时,手机或电脑的分辨率表示的就是设备的物理像素,比如 iPhone6P/6sP/7P 的屏幕分辨率为 1080 x 1920 。
pt
1pt = 1/72 inches
设备独立像素,又叫逻辑像素(logical Pixels)或虚拟像素,用于逻辑上衡量长度的单位,由底层系统的程序使用,会由相关系统转换为物理像素。CSS 像素是设备独立像素的一种。
The text was updated successfully, but these errors were encountered:
No branches or pull requests
CSS 像素(虚拟)和实际的屏幕物理像素之间的关系
物理像素 (Physical Pixels)
设备屏幕由一个个的物理像素点组成,一个点(
pt
)等于 1/72 英寸。平时,手机或电脑的分辨率表示的就是设备的物理像素,比如 iPhone6P/6sP/7P 的屏幕分辨率为 1080 x 1920 。1pt = 1/72 inches
设备独立像素 (Device Independent Pixels)
设备独立像素,又叫逻辑像素(logical Pixels)或虚拟像素,用于逻辑上衡量长度的单位,由底层系统的程序使用,会由相关系统转换为物理像素。CSS 像素是设备独立像素的一种。
参考
The text was updated successfully, but these errors were encountered: