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
px
pt
pc
em
ex
cm
mm
in
1pc = 12pt = 16px
1in = 2.54cm = 25.4mm = 72pt = 6pc = 96px
注:以 72 像素/英寸为基准
The text was updated successfully, but these errors were encountered:
No branches or pull requests
通用单位:
px
:像素(Pixels),绝对长度单位pt
:点(Points),绝对长度单位pc
:派卡(Picas),绝对长度单位,默认为浏览器缺省字体大小(16px)em
:相对长度单位,相对于当前对象内文本的字体尺寸ex
:相对长度单位,相对于字符“x”的高度,通常为字体高度的一半cm
:厘米(Centimeters),绝对长度单位mm
:毫米(Millimeters),绝对长度单位in
:英寸(Inches),绝对长度单位换算关系:
1pc = 12pt = 16px
1in = 2.54cm = 25.4mm = 72pt = 6pc = 96px
The text was updated successfully, but these errors were encountered: