好得很程序员自学网

<tfoot draggable='sEl'></tfoot>

css继承样式有哪些

css继承样式有:visibil IT y、cursor、letter -s pacing、color、font、text -i ndent、text-align、list-style、list-style -t y PE 、border-collapse等。

本教程操作环境:windows7系统、CSS3 && HT ML 5版、Dell G3 电 脑。

不可继承的: dis play 、m arg in、border、padding、background、h ei ght、min-height、max- height、width、min-width、max-width、overflow、position、left、right、top、 bottom、z-index、float、clear、table-layout、vert ical -align、page- br eak-after、 page-bread-before和unicode-bidi

所有元素可继承: visibility和cursor

内联元素可继承: letter-spacing、word-spacing、white-space、line-height、color、font、 font-f ami ly、font-size、font-style、font- VAR iant、 font-weight 、text- decoration、text-transform、direction

块状元素 可继承: text-indent和text-align

列表元素可继承: list-style、list-style-type、list-style-position、list-style-image

表格元素可继承: border-collapse

推荐学习:css视频教程

以上就是css继承样式有 哪些 的详细内容,更多请关注其它相关 文章 !

总结

以上是 为你收集整理的 css继承样式有哪些 全部内容,希望文章能够帮你解决 css继承样式有哪些 所遇到的问题。

如果觉得 网站内容还不错, 推荐好友。

查看更多关于css继承样式有哪些的详细内容...

  阅读:26次