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