您的位置:寻梦网首页编程乐园CSS 初步CSS Chart
Resources - CSS Chart 1


Cascading Style Sheet Chart

A cascading style sheet (CSS) allows you to control the appearance of your fonts, links, tables and more. This sheet provides a listing of essential properties and values.

  1. Background css - Page1
  2. Border - Page1
  3. Classification - Page2
  4. Dimension - Page2
  5. Font - Page2
  6. List - Page2
  7. Margin - Page2
  8. Padding - Page3
  9. Positioning - Page3
  10. Text - Page3

Background
Property Values Description NS IE
background background-color
background-image
background-repeat background-attachment background-position
Sets all background properties in one statement 4.0 4.0
background-attachment scroll
fixed
Sets whether a background image is fixed or scrolls with the rest of the page   4.0
background-color color-rgb
color-hex
color-name
transparent
Sets the background color of an element 4.0 4.0
background-image url
none
Sets an image as the background 4.0 4.0
background-position top left
top center
top right
center left
center center
center right
bottom left
bottom center
bottom right
x-% y-%
x-pos y-pos
Sets the starting position of a background image   4.0
background-repeat repeat
repeat-x
repeat-y
no-repeat
Sets if/how a background image will be repeated 4.0 4.0
go back to top


Border

Property Values Description NS IE
border border-width
border-style
border-color
Sets all of the properties for the four borders in one statement 4.0 4.0
border-bottom border-bottom-width
border-style
border-color
Sets all of the properties for the bottom border in one statement   4.0
border-bottom-width thin
medium
thick
length
Sets the width of the bottom border 4.0 4.0
border-color color Sets the color of the four borders, can have from one to four colors   4.0
border-left border-left-width
border-style
border-color
Sets all of the properties for the left border in one statement   4.0
border-left-width thin
medium
thick
length
Sets the width of the left border 4.0 4.0
border-right border-right-width
border-style
border-color
Sets all of the properties for the right border in one statement   4.0
border-right-width thin
medium
thick
length
Sets the width of the right border 4.0 4.0
border-style none
dotted
dashed
solid
double
groove
ridge
inset
outset
Sets the style of the four borders, can have from one to four styles   4.0
border-top border-top-width
border-style
border-color
Sets all of the properties for the top border in one statement   4.0
border-top-width thin
medium
thick
length
Sets the width of the top border 4.0 4.0
border-width thin
medium
thick
length
Sets the width of the four borders in one statement, can have from one to four values 4.0 4.0
go back to top