display:none | inline | block | list-item | inline-block | table | inline-table | table-caption | table-cell | table-row | table-row-group | table-column | table-column-group | table-footer-group | table-header-group | run-in | box | inline-box | flexbox | inline-flexbox | flex | inline-flex
默认值:inline
适用于:所有元素
继承性:无
动画性:否
计算值:指定值,除浮动,绝对定位和根元素外
媒体:视觉
hidden
值不同,其不为被隐藏的对象保留其物理空间Values | IE | Firefox | Chrome | Safari | Opera | iOS Safari | Android Browser | Android Chrome |
---|---|---|---|---|---|---|---|---|
Basic Support #1 | 8.0+ | 40.0+ | 40.0+ | 8.0+ | 40.0+ | 8.0+ | 4.4+ | 28.0+ |
inline-block | ||||||||
table系 #2 | ||||||||
run-in | ||||||||
box | inline-box | 8.0+ | 40.0+ -moz- |
40.0+ -webkit- |
8.0+ -webkit- |
40.0+ -webkit- |
8.0+ -webkit- |
4.4+ -webkit- |
28.0+ -webkit- |
flexbox | inline-flexbox | 8.0-9.0 | 40.0+ | 40.0+ | 8.0+ | 40.0+ | 8.0+ | 4.4+ | 28.0+ |
10.0-11.0 -ms- |
||||||||
flex | inline-flex | 8.0-10.0 | 40.0+ | 40.0+ | 8.0+-webkit- | 40.0+ | 8.0+-webkit- | 4.4+ | 28.0+ |
11.0+ | 9.0+ | 9.0+ |