Академический Документы
Профессиональный Документы
Культура Документы
The number in the "CSS" column indicates in which CSS version the property is defined (CSS1 or CSS2). Property background Description A shorthand property for setting all background properties in one declaration Values background-color background-image background-repeat background-attachment background-position scroll fixed color-rgb color-hex color-name transparent url(URL) none top left top center top right center left center center center right bottom left bottom center bottom right x% y% xpos ypos repeat repeat-x repeat-y no-repeat CSS 1
background-attachment
Sets whether a background image is fixed or scrolls with the rest of the page Sets the background color of an element
background-color
background-image background-position
Sets an image as the background Sets the starting position of a background image
1 1
background-repeat
letter-spacing text-align
Increase or decrease the space between characters Aligns the text in an element
1 1
text-decoration
text-indent text-shadow
text-transform
unicode-bidi
vertical-align
white-space
word-spacing
font-family
font-size
font-style
font-variant
Specifies whether or not a text should be displayed in a small-caps font Specifies the weight of a font
font-weight
Sets all the border properties in one declaration border-width border-style border-color Sets all the bottom border properties in one declaration Sets the color of the bottom border Sets the style of the bottom border Sets the width of the bottom border Sets the color of the four borders border-bottom-width border-bottom-style border-bottom-color border-color border-style border-width color_name hex_number rgb_number transparent inherit border-left-width border-left-style border-left-color border-color border-style border-width border-right-width border-right-style border-right-color border-color border-style border-width none hidden dotted dashed solid double groove ridge inset outset inherit border-top-width border-top-style border-top-color border-color border-style border-width thin medium thick
border-bottom
2 2 1 1
border-left
Sets all the left border properties in one declaration Sets the color of the left border Sets the style of the left border Sets the width of the left border Sets all the right border properties in one declaration Sets the color of the right border Sets the style of the right border Sets the width of the right border Sets the style of the four borders
2 2 1 1
2 2 1 1
border-top
Sets all the top border properties in one declaration Sets the color of the top border Sets the style of the top border Sets the width of the top border Sets the width of the four borders
2 2 1 1
length inherit
outline-color outline-style
2 2
outline-width
margin-bottom
margin-left
margin-right
margin-top
Sets the bottom padding of an element Sets the left padding of an element Sets the right padding of an element Sets the top padding of an element
1 1 1 1
list-style-image
list-style-position
list-style-type
border-spacing
Sets the distance that length length separates cell borders (only for the "separated borders" model) Sets the position of the table caption top bottom left right show hide
5M
caption-side
5M
empty-cells
Sets whether or not to show empty cells in a table (only for the "separated borders" model) Sets the algorithm used to display the table cells, rows, and columns
5M
table-layout
auto fixed