博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
CSS】哪些样式属性可以继承
阅读量:4657 次
发布时间:2019-06-09

本文共 620 字,大约阅读时间需要 2 分钟。

不可继承的: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

转载于:https://www.cnblogs.com/gaojian0927/p/9635885.html

你可能感兴趣的文章
63.Unique Paths II
查看>>
[HNOI2015]实验比较
查看>>
搭建自动化构建
查看>>
完成评论功能
查看>>
ProjectEuler 13
查看>>
[转]基于SAML的单点登录介绍
查看>>
signer information does not match signer information of other classes in the same package
查看>>
安装mysql Install/Remove of the Service Denied!错误的解决办法
查看>>
Docker三大核心概念之镜像
查看>>
笔记:Java Socket
查看>>
poj1275 Cashier Employment
查看>>
css box-sizing以及calc()
查看>>
oracle 批量插入和批量更新
查看>>
2017-2018-2 1723《程序设计与数据结构》第二周作业 总结
查看>>
delete
查看>>
Android 手机卫士--md5加密过程
查看>>
PGM图片格式与代码
查看>>
jsp内置对象-session
查看>>
SLP读书笔记之 n-gram 语言模型
查看>>
前端工程师的基本素养
查看>>