您的位置:首页 > Web前端 > CSS

精通 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
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  css 对象 继承 字体