Comments (2)
MDN上有详细的说明:https://developer.mozilla.org/en-US/docs/Web/CSS/length#Absolute_length_units
px
Relative to the viewing device.
For screen display, typically one device pixel (dot) of the display.
For printers and very high resolution screens one CSS pixel implies multiple device pixels, so that the number of pixel per inch stays around 96.
px实际上是绝对长度单位
但是显示的长度是相对显示屏幕的分辨率而改变的
from css-handbook.
感谢提出勘误,已在4.2.2中修复,请关注新版本
from css-handbook.
Related Issues (20)
- 建议增加优先级和权重的相关介绍和演示
- flex拼写出错
- CSS手册padding-top padding-bottom的问题 HOT 2
- 4.2.4版本chm的索引列表中文乱码 HOT 5
- 4k屏Windows下帮助手册字号太小
- 4.2.6版本源码是否有样式或者脚本问题
- Grid布局
- 没有分组选择器
- 4.2.7索引目录部分乱码问题
- 怎么没有grid 类别
- animation-direction 里的代码语法错误
- css参考手册, 伸缩盒一个属性说明不够清晰.md
- 左侧树形菜单无法点击展开,请问如何解决?
- 媒体查询 检测 深色系统的模式 @media (prefers-color-scheme: dark/light)
- radial-gradient() 中有一处描述小错误
- 建议给速查总表的每一个关键字提供一个简单说明
- 404 Not Found
- 停更了吗 HOT 1
- E:last-of-type 是不是跟 E:first-of-type 例子重复了
- 好多年没更新啦,搞起来呀 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from css-handbook.