CCG

CSS Coding Guideline

Last Updata: 2007-05-31 T11:05:00+09:00 Fans-JP.inc

プロパティの記述順序リスト

Box model {

  1. margin-top, margin-right, margin-bottom, margin-left
  2. padding-top, padding-right, padding-bottom, padding-left
  3. border-top-width, border-right-width, border-bottom-width, border-left-width,
    border-top-color, border-right-color, border-bottom-color, border-left-color, border-color,
    border-top-style, border-right-style, border-bottom-style, border-left-style, border-style,
    border-top, border-bottom, border-right, border-left, border

}

Visual formatting model {

  1. display
  2. position
  3. top
  4. right
  5. bottom
  6. left
  7. float
  8. clear
  9. z-index

}

Visual formatting model details {

  1. direction
  2. unicode-bidi
  3. width
  4. min-width
  5. max-width
  6. height
  7. min-height
  8. max-height
  9. line-height
  10. vertical-align

}

Visual effects {

  1. overflow
  2. clip
  3. visibility

}

Generated content, automatic numbering, and lists {

  1. content
  2. compact
  3. run-in
  4. quotes
  5. marker-offset
  6. list-style-type, list-style-image, list-style-position, list-style

}

Paged media {

  1. size
  2. marks
  3. page-break-before, page-break-after, page-inside, page;
  4. orphans
  5. widows

}

Colors and Backgrounds {

  1. color
  2. background-color
  3. background-images
  4. backgroundrepeat
  5. background-attachment
  6. background-position
  7. background

}

Fonts {

  1. font-style
  2. font-variant
  3. font-weight
  4. font-stretch
  5. font-size
  6. font-size-abjust
  7. font
  8. font-family (※family郡の中で, family は必ず最後に指定する。)

}

Text {

  1. text-indent
  2. text-align
  3. text-decoration
  4. text-shadow
  5. text-spacing
  6. text-transform
  7. text-space

}

Tables {

  1. table-layout
  2. empty-cells
  3. speak-header

}

User interface

  1. cursor
  2. outline

}

Aural style sheets

  1. volume
  2. speak
  3. pause-before
  4. pause
  5. cue-before
  6. cue
  7. play-during
  8. azimuth
  9. elevation
  10. speech-rate
  11. voice-family
  12. pitch
  13. pitch-range
  14. stress
  15. richness
  16. speak-punctuation
  17. speak-numeral

}