首页Home › CSS 生成器CSS Generators
📐 CSS 单位换算(px/rem/em/pt/vw)CSS Unit Converter (px, rem, em, pt, vw)
在 px、rem、em、pt、vw、vh、%、cm、mm、in 之间换算 CSS 长度,可设根字号和视口尺寸。Convert CSS lengths between px, rem, em, pt, vw, vh, %, cm, mm and in with your root font size and viewport.
使用说明与常见问题How-to & FAQ
「CSS 单位换算(px/rem/em/pt/vw)」是什么?What is the CSS Unit Converter (px, rem, em, pt, vw)?
在 px、rem、em、pt、vw、vh、%、cm、mm、in 之间换算 CSS 长度,可设根字号和视口尺寸。Convert CSS lengths between px, rem, em, pt, vw, vh, %, cm, mm and in with your root font size and viewport.
如何使用「CSS 单位换算(px/rem/em/pt/vw)」?How do I use the CSS Unit Converter (px, rem, em, pt, vw)?
在「CSS 单位换算(px/rem/em/pt/vw)」中,填写「数值」、「单位」、「根字号 px」、「父字号 px」、「视口宽 px」等参数,结果会随输入实时计算并显示在下方。In the CSS Unit Converter (px, rem, em, pt, vw): Fill in "Value", "Unit", "Root font px", "Parent font px", "Viewport width"; results are recalculated instantly as you type.
生成的 CSS 兼容哪些浏览器?Which browsers support the generated CSS?
「CSS 单位换算(px/rem/em/pt/vw)」生成的是标准 CSS 属性,Chrome、Edge、Firefox、Safari 的现代版本都支持,可选中结果后复制使用。The CSS Unit Converter (px, rem, em, pt, vw) outputs standard CSS supported by current Chrome, Edge, Firefox and Safari; select the result and copy it.
「CSS 单位换算(px/rem/em/pt/vw)」免费吗?需要注册吗?Is the CSS Unit Converter (px, rem, em, pt, vw) free? Do I need an account?
「CSS 单位换算(px/rem/em/pt/vw)」完全免费,无需注册或安装,打开网页即可使用,手机和电脑都能用;输入的内容只在你的浏览器本地处理。The CSS Unit Converter (px, rem, em, pt, vw) is completely free with no sign-up or install and works on phones and desktops; what you enter is processed only in your browser.