精通 CSS+DIV 网页样式与布局 2 Selector -- 选择符
2016-11-30 20:48
736 查看
property : value – 样式表定义。属性和属性值之间用冒号(:)隔开。定义之
间用分号(;)隔开
继承的值 (The ’ Inherit ’ Value)
每个属性都有一个指定的值:Inherit。它的意思是:将父对象的值等同为计算
机值得到。这个值通常仅仅是备用的。显式的声明它可用来强调。
CSS Properties Reference 样式表属性
字体 Font
font color font-family font-size font-size-adjust font-stretch font-style font-weight text-decoration
text-underline-position text-shadow font-variant text-transform line-height letter-spacing word-spacing
文本 Text
text-indent text-overflow vertical-align text-align layout-flow writing-mode direction unicode-bidi word-break
line-break white-space word-wrap text-autospace text-kashida-space text-justify ruby-align ruby-position
ruby-overhang ime-mode layout-grid layout-grid-char layout-grid-char-spacing layout-grid-line
layout-grid-mode layout-grid-type
背景 Background
background background-attachment background-color background-image background-position
background-positionX background-positionY background-repeat layer-background-color
layer-background-image
定位 Positioning
position z-index top right bottom left
尺寸 Dimensions
height max-height min-height width max-width min-width
布局 Layout
clear float clip overflow overflow-x overflow-y display visibility
外补丁 Margins
margin margin-top margin-right margin-bottom margin-left
轮廓 Outlines
outline outline-color outline-style outline-width
边框 Borders
border border-color border-style border-width border-top border-top-color border-top-style border-top-width
border-right border-right-color border-right-style border-right-width border-bottom border-bottom-color
border-bottom-style border-bottom-width border-left border-left-color border-left-style border-left-width
内容 Generated Content
include-source quotes content counter-increment counter-reset
内补丁 Paddings
padding padding-top padding-right padding-bottom padding-left
列表项目 Lists
list-style list-style-image list-style-position list-style-type marker-offset
间用分号(;)隔开
继承的值 (The ’ Inherit ’ Value)
每个属性都有一个指定的值:Inherit。它的意思是:将父对象的值等同为计算
机值得到。这个值通常仅仅是备用的。显式的声明它可用来强调。
CSS Properties Reference 样式表属性
字体 Font
font color font-family font-size font-size-adjust font-stretch font-style font-weight text-decoration
text-underline-position text-shadow font-variant text-transform line-height letter-spacing word-spacing
文本 Text
text-indent text-overflow vertical-align text-align layout-flow writing-mode direction unicode-bidi word-break
line-break white-space word-wrap text-autospace text-kashida-space text-justify ruby-align ruby-position
ruby-overhang ime-mode layout-grid layout-grid-char layout-grid-char-spacing layout-grid-line
layout-grid-mode layout-grid-type
背景 Background
background background-attachment background-color background-image background-position
background-positionX background-positionY background-repeat layer-background-color
layer-background-image
定位 Positioning
position z-index top right bottom left
尺寸 Dimensions
height max-height min-height width max-width min-width
布局 Layout
clear float clip overflow overflow-x overflow-y display visibility
外补丁 Margins
margin margin-top margin-right margin-bottom margin-left
轮廓 Outlines
outline outline-color outline-style outline-width
边框 Borders
border border-color border-style border-width border-top border-top-color border-top-style border-top-width
border-right border-right-color border-right-style border-right-width border-bottom border-bottom-color
border-bottom-style border-bottom-width border-left border-left-color border-left-style border-left-width
内容 Generated Content
include-source quotes content counter-increment counter-reset
内补丁 Paddings
padding padding-top padding-right padding-bottom padding-left
列表项目 Lists
list-style list-style-image list-style-position list-style-type marker-offset
相关文章推荐
- 精通CSS.DIV网页样式与布局(五) ——设置表格与表单样式
- 精通CSS.DIV网页样式与布局(一)
- 精通 CSS+DIV 网页样式与布局 14
- 精通 CSS+DIV 网页样式与布局 16
- 精通 CSS+DIV 网页样式与布局 7
- 精通CSS.DIV网页样式与布局(六)——页面和浏览器元素
- 精通 CSS+DIV 网页样式与布局 18
- 精通CSS.DIV网页样式与布局(一)
- 精通 CSS+DIV 网页样式与布局 22
- 精通 CSS+DIV 网页样式与布局 20
- 精通CSS.DIV网页样式与布局(二)
- 精通CSS.DIV网页样式与布局
- 精通 CSS+DIV 网页样式与布局 8
- 精通CSS.DIV网页样式与布局(三)——中秋效果图
- 精通 CSS+DIV 网页样式与布局 12
- 精通CSS.DIV网页样式与布局(七)——制作实用菜单
- 精通CSS.DIV网页样式与布局(八)——滤镜的使用
- 精通 CSS+DIV 网页样式与布局 4
- 精通 CSS+DIV 网页样式与布局 5
- 精通 CSS+DIV 网页样式与布局 13