javascript学习10:CSSStyleDeclaration对象

成员 对应于
background background
backgroundAttachment background-attachment
backgroundColor background-color
backgroundImage background-image
backgroundPosition background-position
backgroundRepeat background-repeat
border border
borderBottom border-bottom
borderBottomColor border-bottom-color
borderBottomStyle border-bottom-style
borderBottomwidth border-bottom-width
borderCollapse border-collapse
borderColor border-color
borderLeft border-left
borderLeftColor border-left-color
borderLeftstyle border-left-style
borderLeftwidth border-left-width
borderRight border-right
borderRightColor border-right-color
borderRightstyle border-right-style
borderRightwidth border-right-width
borderSpacing border-spacing
borderStyle border-style
borderTop border-top
borderTopColor border-top-color
borderTopStyle border-top-style
borderTopwidth border-top-width
borderwidth border-width
captionSide caption-side
clear clear
color color
cssFloat float
cursor cursor
direction direction
display display
emptyCells empty-cells
font font
fontFamily font-family
fontSize font-size
fontstyle font-style
fontVariant font-variant
fontweight font-weight
height height
letterSpacing letter-spacing
lineHeight line-height
listStyle list-style
listStyleImage list-style-image
liststylePosition list-style-position
liststyleType list-style-type
margin margin
marginBottom margin-bottom
marginLeft margin-left
marginRight margin-right
marginTop margin-top
maxHeight max-height
maxwidth max-width
minHeight min-height
minwidth min-width
outline outline
outlineColor outline-color
outlinestyle outline-style
outlinewidth outline-width
overflow overflow
padding padding
paddingBottom padding-bottom
paddingLeft padding-left
paddingRight padding-right
paddingTop padding-top
tableLayout table-layout
textAlign text-align
textDecoration text-decoration
textIndent text-indent
textshadow text-shadow
textTransform text-transform
visibility visibility
whitespace whitespace
width width
wordSpacing word-spacing
zIndex z-index
上一篇:scrapy学习


下一篇:算法 |《剑指offer》面试题29. 顺时针打印矩阵