css中可继承属性与不可继承属性
来源:互联网 发布:work域名的价值 编辑:程序博客网 时间:2024/06/06 08:58
不可继承的: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。
font属性书写格式(仅css1)
font : font-style font-variant font-weight font-size line-height font-family;
font属性默认值
font: normal normal normal medium normal "Times New Roman" ;
转自:http://www.cnblogs.com/afuge/archive/2013/01/30/2882507.html
font : font-style font-variant font-weight font-size line-height font-family;
font属性默认值
font: normal normal normal medium normal "Times New Roman" ;
转自:http://www.cnblogs.com/afuge/archive/2013/01/30/2882507.html
0 0
- css中可继承属性与不可继承属性
- css中可继承属性和不可继承属性
- css可继承属性和不可继承属性
- CSS可继承属性和不可继承属性
- css中可继承和不可继承的属性
- css-可继承和不可继承的属性
- css中元素常用的可继承和不可继承元素的属性
- css 中可继承的属性
- [Web前端技术教学]CSS中可继承的属性以及无继承性的属性
- css 可继承属性
- CSS:可继承的属性
- CSS中可以继承和不可继承的属性
- css中可以和不可以继承的属性
- css中可以和不可以继承的属性
- CSS中可以和不可以继承的属性
- CSS中可以和不可以继承的属性
- CSS中可以和不可以继承的属性
- CSS中可以和不可以继承的属性
- 【Android】0行代码实现任意形状图片展示--android-anyshape
- 华为2016校招上机笔试题第一题
- js 匿名函数和闭包函数(js练习)
- Swift中创建一个UIBarButtonItem的分类
- 一百个灯泡排成一排,第一轮将所有灯泡打开;
- css中可继承属性与不可继承属性
- 3月英语学习—扬帆起航
- Android中全屏或者去除标题栏的方法
- Linux下U盘、SD卡挂载与卸载
- 【c++程序】list一般用法
- 编写一个简单的配置文件
- 区间相关问题解法
- Ubuntu 输入法的切换
- JVM