css不繼承父級(jí)的有:1、文本屬性;2、盒子模型的屬性;3、背景屬性;4、定位屬性;5、生成內(nèi)容屬性;6、輪廓樣式屬性;7、頁面樣式屬性;8、聲音樣式屬性。
本教程操作環(huán)境:windows7系統(tǒng)、css3版,DELL G3電腦。
css不繼承父級(jí)的有:
1、display:規(guī)定元素應(yīng)該生成的框的類型
2、文本屬性:
-
vertical-align:垂直文本對(duì)齊
-
text-decoration:規(guī)定添加到文本的裝飾
-
text-shadow:文本陰影效果
-
white-space:空白符的處理
-
unicode-bidi:設(shè)置文本的方向
3、盒子模型的屬性:
width、height、margin 、margin-top、margin-right、margin-bottom、margin-left、border、border-style、border-top-style、border-right-style、border-bottom-style、border-left-style、border-width、border-top-width、border-right-right、border-bottom-width、border-left-width、border-color、border-top-color、border-right-color、border-bottom-color、border-left-color、border-top、border-right、border-bottom、border-left、padding、padding-top、padding-right、padding-bottom、padding-left
4、背景屬性:
background、background-color、background-image、background-repeat、background-position、background-attachment
5、定位屬性:
float、clear、position、top、right、bottom、left、min-width、min-height、max-width、max-height、overflow、clip、z-index
6、生成內(nèi)容屬性:
content、counter-reset、counter-increment
7、輪廓樣式屬性:
outline-style、outline-width、outline-color、outline
8、頁面樣式屬性:
size、page-break-before、page-break-after
9、聲音樣式屬性:
pause-before、pause-after、pause、cue-before、cue-after、cue、play-during
相關(guān)教程推薦:CSS視頻教程