V2EX  ›  英汉词典
Enqueued related words: Px, Vw, Vh, Font-size, Sievert

Rem

定义 Definition

rem(名词)常见有两种用法:

  1. (网页/CSS)相对长度单位:以根元素(通常是 html)的字体大小为基准的长度单位,便于做响应式排版。
  2. (辐射防护)剂量当量单位roentgen equivalent man 的缩写,表示辐射对人体的生物学效应;现代国际单位制中多用 sievert(Sv),但在部分国家/资料中仍可见 rem

发音 Pronunciation

/ rɛm /

例句 Examples

The padding is set to 1rem.
内边距被设为 1rem。

To keep the layout consistent, we sized headings in rem so they scale with the root font size across different devices.
为了保持版式一致,我们用 rem 来设置标题大小,使其能随着根字体大小在不同设备上一起缩放。

词源 Etymology

CSS 中的 rem 来自 root em(“根元素的 em”):与 em(相对当前元素字体大小)不同,rem 以根元素字体为参照。
辐射单位 rem 则是 roentgen equivalent man 的首字母缩写,属于历史上常用的剂量当量表示法。

相关词 Related Words

文献与作品 Literary / Notable Works

  • CSS Values and Units Module(W3C 规范;讨论包括 rem 在内的长度单位)
  • CSS: The Definitive Guide(Eric A. Meyer;常见 CSS 单位与实践中会涉及 rem
  • Introduction to Health Physics(Herman Cember;辐射防护中会讨论包括 rem 在内的剂量单位)
关于   ·   帮助文档   ·   自助推广系统   ·   博客   ·   API   ·   FAQ   ·   Solana   ·   2190 人在线   最高记录 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 16ms · UTC 15:27 · PVG 23:27 · LAX 07:27 · JFK 10:27
♥ Do have faith in what you're doing.