css哪些属性可以继承
2024-08-29 17:53:29
不可继承的:display、margin、border、padding、background、height、min-height、max- height、width、min-width、max-width、overflow、position、left、right、top、 bottom、z-index、float、clear、table-layout、vertical-align、page-break-after、 page-bread-before和unicode-bidi。
所有元素可继承:visibility和cursor。
内联元素可继承:letter-spacing、word-spacing、white-space、line-height、color、font、
font-family、font-size、font-style、font-variant、font-weight、text-
decoration、text-transform、direction。
终端块状元素可继承:text-indent和text-align。
列表元素可继承:list-style、list-style-type、list-style-position、list-style-image。
表格元素可继承:border-collapse。
基本针对字体设置的属性都是可以继承的
最新文章
- 配置mysql允许远程连接的方法
- 记录一则ORA-00054,ORA-00031解决过程
- SpringToolSuite/Eclipse中集成的Tomcat无法add Project时的解决版本
- 使用getopts处理shell中的输入参数
- PS网页设计教程XXVI——如何在PS中创建一个专业的网页布局
- 低功耗蓝牙4.0BLE编程-nrf51822开发(4)
- GML、SVG、VML的比较
- OpenSSH 高级运用两则
- SQL with as 替代临时表的用法
- install postgis(2.0) on ubuntu(12.04)
- [Kafka] - Kafka内核理解:消息的收集/消费机制
- AbstractRoutingDataSource实现动态数据源切换 专题
- python学习-抓取知乎图片
- Go代码重构:23倍的性能爆增
- Windbg驱动双机调试环境配置
- xe5 android 调用照相机获取拍的照片[转]
- 【Scala】Scala-Option-Null的蹊跷
- phpstrom xdebug wamp调试配置文档
- nginx的相关信息
- [BZOJ1217]消防局的设立