a bit to make the computer screen density and cell density consistent.
Conversion method:
72 pixel/inch = 28.346 pixel/cm
300 pixel/inch = 118.11 pixel/cm
1 cm = 0.3937 inches
1 inches = 2.54 cm
Pixel can not be directly converted into inches, centimeters, to be in th
In inch Inches (1 inch = 2.54 cm)
Cm Centimeters
Mm Millimeters
Pt point Points (1 point = 1/72 inch)
Pc pickup Picas (1 pickup =)
Pixels are relative to the display screen resolution. For example, WiNDOWS users generally use a 96 pixel/inch resolution. MAC users generally use 72 pixels/inch resolution. Therefore, in WiNDOWS CSS, dpi is 96 pixels/inch.
See the following table for comparison:
Common Photo
Comparison of pixel units dp, px, pt, and sp in androidDp (dip): device independent pixels (device independent pixel ). different devices have different display effects, which are related to the hardware of the device. We recommend that you use this function to support WVGA, HVGA, and QVGA without pixels. Px: pixels (pixels). Different devices have the same displ
Detailed description of a pixel comparison Service Based on casperjs and resemble. js,
Preface
This article shares a node service that provides pixel comparison between the design draft and the front-end page. It aims to complete an auxiliary test for the testing or front-end personnel. Believe me, in the
One of the most confusing aspects of CSS styling is the Font-size property of the text extension in your application. In CSS, you can display the size of text in a Web browser in four different units of measure.Which of the four units is best for the Web? The problem aroused a wide controversy. It is difficult to find a definite answer, because it is so difficult to answer on its own.Contact these units1. "
visitors to use the scalable text that can be displayed on any device or machine. For this reason, the EM and percent units are preferred for Web document text.
Comparison of EM and percent
We define the point and pixel units that are not necessarily the most suitable for Web documents, leaving them to be em and percent units. In theory, EM and percent units are the same, but in the application, they actua
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.