V2EX  ›  英汉词典

Px

释义 Definition

pxpixel(像素) 的常用缩写;在网页与界面设计中,px 也指一种长度单位,表示以“像素”为基准的尺寸(如字体大小、边距、边框粗细等)。

发音 Pronunciation

/piː ɛks/

例句 Examples

Set the font size to 16px.
把字体大小设为 16px。

On high‑DPI screens, a 1px border can appear uneven if it doesn’t align with the device’s pixel grid.
在高 DPI 屏幕上,如果 1px 的边框没有对齐设备的像素网格,看起来可能会不均匀。

词源 Etymology

px 来自 pixel 的缩写;而 pixelpicture element(图像元素) 的合成缩略词,最早用于描述数字图像中最小的可显示单元之一。随着网页标准与 CSS 的普及,px 也固定为常见的样式长度单位写法。

相关词 Related Words

文学与著作 Literary & Works

  • Cascading Style Sheets Level 2 Revision 1 (CSS 2.1) Specification(W3C 规范文本中大量使用 px 作为示例单位)
  • CSS: The Definitive Guide(Eric A. Meyer 等)
  • HTML and CSS: Design and Build Websites(Jon Duckett)
关于   ·   帮助文档   ·   自助推广系统   ·   博客   ·   API   ·   FAQ   ·   Solana   ·   2610 人在线   最高记录 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 17ms · UTC 01:29 · PVG 09:29 · LAX 17:29 · JFK 20:29
♥ Do have faith in what you're doing.