- zqjshiyingxiong
- 等级:
- 性别:
- 文章: 78
- 积分: 320
- 来自: 无锡
|
控制队列的元素有:
Property
Value
list-style-type
|
disc | circle | square | decimal | decimal-leading-zero |
lower-roman | upper-roman | lower-greek | lower-latin | upper-latin | armenian |
georgian | none
Initial value: disc
|
Property
Value
list-style-image
|
<uri> | none 如:list-style-image: url('arrow.png');
Initial value: none
|
Property
Value
list-style-position
|
inside | outside
Initial value: outside
|
这里的INSIDE和outside的意思是在元素的里面和外面
The list-style shorthand Property
Property
Value
list-style
|
<’list-style-type’> || <’list-style-position’>
|| <’list-style-image’>
|
|
Initial value: n/a
|
属性Backgrounds相关的设置:
Property
Value
background-color
|
<color> | transparent
Initial value: transparent
|
Property
Value
background-image
|
<uri> | none
Initial value: none
|
Property
Value
background-repeat
|
repeat | repeat-x | repeat-y | no-repeat
|
|
Initial value: repeat
|
Property
Value
background-position
|
[<percentage> | <length> ]{1,2} | [ [top |
center | bottom] || [left | center | right] ]
|
|
Initial value: 0% 0%
|
Property
Value
background-attachment
|
scroll | fixed
|
|
Initial value: scroll
|
background
|
<’background-color’> || <’background-image’> ||
<’background-repeat’> || <’background-attachment’> ||
<’background-position’>
|
|
Initial value: n/a
|
Text Manipulation:
Property
Value
letter-spacing
|
normal | <length>
Initial value: normal
|
word-spacing
|
normal | <length>
Initial value: normal
|
word-spacing
|
normal | <length>
Initial value: normal
|
text-align
|
left | right | center | justify
Initial value: left
|
text-decoration
|
none | [ underline || overline || line-through || blink
Initial value: none
|
text-transform
|
capitalize | uppercase | lowercase | none
Initial value: none
|
white-space
|
normal | pre | nowrap
Initial value: normal
|
fonts:
Property
Value
font-family
|
[[ <family-name> | <generic-family> ] [,
<family-name>| <generic-family>]* ]
Initial value: Varies depending on the browser or user
agent.
|
font-style
|
normal | italic | oblique
Initial value: normal
|
font-variant
|
normal | small-caps
Initial value: normal
|
font-weight
|
normal | bold | bolder | lighter | 100 | 200 | 300 | 400 |
500 | 600 | 700 | 800 | 900
Initial value: normal
|
font-size
|
<absolute-size> | <relative-size> |
<length> | <percentage>
Initial value: medium
|
font
|
[ <’font-style’> || <’font-variant’> ||
<’font-weight’> ]? <’font-size’>
[ / <’line-height’> ]? <’font-family’> ] caption
| icon | menu | message-box | small-caption | status-bar
|
The Box Model:
Property
Value
Margin
|
[ <length> | <percentage> | auto ] {1,4}
|
margin-top
margin-right
margin-bottom
margin-left
|
<length> | <percentage> | auto
|
-
CSS box model properties, padding, margins, borders, width,
and height
Property
Value
Margin
|
[ <length> | <percentage> | auto ] {1,4}
|
margin-top
margin-right
margin-bottom
margin-left
|
<length> | <percentage> | auto
|
Property
Value
Margin
|
[ <length> | <percentage> | auto ] {1,4}
|
margin-top
margin-right
margin-bottom
margin-left
|
<length> | <percentage> | auto
|
Width
|
<length> | <percentage> | auto
initial value: auto
|
overflow
|
visible | hidden | scroll | auto
initial value: visible
|
CSS Buoyancy-Floating and Vertical Alignment:
Property
Value
float
|
left | right | none
Initial value: none
|
clear
|
none | left | right | both
Initial value: none
|
vertical-align
|
baseline | sub | super | top | text-top | middle | bottom |
text-bottom | <percentage> | <length>
Initial value: baseline
|
Positioning:
-
The position
property and the four
types of positioning that CSS has to offer: static
,
relative
, absolute
, and fixed
Property
Value
position
|
static | relative | absolute | fixed
Initial value: static
|
top
|
<length> | <percentage> | auto
Initial value: auto
|
right
|
<length> | <percentage> | auto
Initial value: auto
|
bottom
|
<length> | <percentage> | auto
Initial value: auto
|
left
|
<length> | <percentage> | auto
Initial value: auto
|
-
The offset properties top
, right
, bottom
, and left
, and how these are used to deliver an element to a
specific position in a web document
z-index
|
auto | <integer>
Initial value: auto
|
-
The z-index
property and how this
property is used to layer the elements of a document
-
Some practical applications of positioning, such as
multicolumn layouts and vertically centering a positioned element
Tables:
Property
Value
caption-side
|
top | bottom
Initial value: top
|
border-spacing
|
<length> <length>? Initial value: 0
|
table-layout
|
auto | fixed
Initial value: auto
|
声明:ITeye文章版权属于作者,受法律保护。没有作者书面许可不得转载。
|
返回顶楼 |
|
|