特徵 | 參數 |
---|---|
[ATTRIBUTE] | [att], [att=val], [att~=val], [att|=val], [att^=val], [att$=val], [att*=val] |
@CHARSET | 文字編碼字串,例如 "BIG5"。 |
@FONT-FACE | { font-family: 字型名稱字串; src: url(字型檔案); } |
@IMPORT | 外部風格檔案 媒體型態集 |
@MEDIA | <媒體型態集> { 風格定義區塊 } all, aural(Firefox 用 speech), braille, embossed, handheld, print, projection, screen, tty, tv |
@PAGE | 頁選擇器 { 風格定義區塊 } :first, :left, :right |
!IMPORTANT | |
AZIMUTH | <angle>, left-side, far-left, left, center-left, center, center-right, right, far-right, right-side, leftwards, rightwards。 |
background | 可同時設定 background- attachment, color, image, position, repeat。 |
background-attachment | fixed, scroll, inherit |
background-color | <color>, transparent, inherit |
background-image | <uri>,none, inherit |
background-position | <percentage>, <length>, (top, center, bottom) (left, center, right), inherit |
background-repeat | repeat, repeat-x, repeat-y, no-repeat, inherit |
border | <width>, <color>, <style>。 |
border-top border-right border-bottom border-left | <width>, <color>, <style>。 |
border-color border-top-color border-right-color border-bottom-color border-left-color | <color>, transparent, inherit |
border-style border-top-style border-right-style border-bottom-style border-left-style | none, hidden, dotted, dashed, solid, double, groove, ridge, inset, outset, inherit |
border-width border-top-width border-right-width border-bottom-width border-left-width | <length>, thin, medium, thick, inherit |
border-collapse | collapse, separate, inherit |
BORDER-RADIUS | 圓角半徑, inherit |
border-spacing | <length>, inherit |
BOTTOM | <percentage>, <length>, auto, inherit |
BOX-SHADOW | 投影參數, none, inherit |
BOX-SIZING | content-box, padding-box, border-box |
CAPTION-SIDE | top, bottom, left, right, inherit |
CLEAR | none, left, right, both, inherit |
CLIP | rect(上, 右, 下, 左), auto, inherit |
COLOR | <color>, inherit |
CONTENT | <string>, <uri>, <counter>, attr(X), open-quote, close-quote, no-open-quote, no-close-quote, inherit |
counter-increment | identifier integer, none, inherit |
counter-reset | identifier integer, none, inherit |
CUE | <URI> <URI>, inherit |
CUE-AFTER | <URI>, none, inherit |
CUE-BEFORE | <URI>, none, inherit |
CURSOR | <URI> 游標型態:auto, default, none。context-menu, help, pointer, progress, wait。cell, crosshair, text, vertical-text。alias, copy, move, no-drop, not-allowed。e-resize, n-resize, ne-resize, nw-resize, s-resize, se-resize, sw-resize, w-resize, ew-resize, ns-resize, nesw-resize, nwse-resize, col-resize, row-resize, all-scroll inherit |
DIRECTION | ltr, rtl, inherit |
DISPLAY | inline, block, inline-block, list-item, run-in, compact, marker
table, inline-table, table-row-group, table-header-group, table-footer-group, table-row, table-column-group, table-column, table-cell, table-caption none, inherit |
ELEVATION | <angle>, below, level, above, higher, lower。 |
EMPTY-CELLS | show, hide, inherit |
EXPRESSION() | (javascript 指令) |
FLOAT | left, right, none, inherit |
FONT | 一次設定 font- style, variant, weight, size, family, line-height |
font-family | 字型家族, inherit |
font-size | 絕對尺寸:可設為 xx-small, x-small, small, medium, large, x-large, xx-large 相對尺寸:可設為 larger, smaller <percentage>, <length>, inherit |
font-size-adjust | 數字比例, none, inherit |
font-stretch | ultra-condensed, extra-condensed, condensed, semi-condensed, normal, semi-expanded, expanded, extra-expanded, ultra-expanded wider, narrower, inherit |
font-style | normal, italic, oblique, inherit |
font-variant | normal, small-caps, inherit |
font-weight | normal, bold, bolder, lighter, 100 ~ 900, inherit |
HEIGHT | <percentage>, <length>, auto, inherit |
IME-MODE | auto, normal, active, inactive, disabled |
LEFT | <percentage>, <length>, auto, inherit |
letter-spacing | normal, <length>, inherit |
LINE-HEIGHT | normal, 數值比例, <percentage>, <length>, inherit |
LIST-STYLE | 一次設定 list-style- image, position, type inherit |
list-style-image | <URI>, nono, inherit |
list-style-position | indise, outside, inherit |
list-style-type | disc, circle, square, decimal, decimal-leading-zero, lower-roman, upper-roman, lower-greek, lower-alpha, lower-latin, upper-alpha, upper-latin, hebrew, armenian, georgian, cjk-ideographic, hiragana, katakana, hiragana-iroha, katakana-iroha none, inherit |
MARGIN | 依上 右 下 左 設定外緣寬度, inherit |
margin-bottom margin-left margin-right margin-top | <percentage>, <length>, auto, inherit |
marker-offset | <length>, auto, inherit |
MARKS | crop, cross, none, inherit |
max-height | <percentage>, <length>, inherit |
max-width | <percentage>, <length>, inherit |
min-height | <percentage>, <length>, inherit |
min-width | <percentage>, <length>, inherit |
OPACITY | 數值, inherit |
ORPHANS | 最少行數, inherit |
OUTLINE | 一次設定 outline- color, style, width inherit |
outline-color | <color>, invert, inherit |
outline-offset | <length>, inherit |
outline-style | none, hidden, dotted, dashed, solid, double, groove, ridge, inset, outset, inherit |
outline-width | <length>, thin, medium, thick, inherit |
OVERFLOW OVERFLOW-X OVERFLOW-Y | visible, hidden, scroll, auto, inherit |
PADDING | 依上 右 下 左 設定內緣寬度, inherit |
padding-bottom padding-left padding-right padding-top | <percentage>, <length>, inherit |
PAGE | 識別名稱, auto |
page-break-after page-break-before | always, auto, avoid, left, right, inherit |
page-break-inside | auto, avoid, inherit |
PAUSE | pause- after before, inherit |
pause-after pause-before | <時間>, <percentage>, inherit |
PITCH | x-low, low, medium, high, x-high 頻率, inherit |
pitch-range | 0 ~ 100, inherit |
PLAY-DURING | <URI>, auto, none, inherit |
POSITION | static, relative, absolute, fixed |
QUOTES | <string>, none, inherit |
RICHNESS | 0 ~ 100, inherit |
RIGHT | <percentage>, <length>, auto, inherit |
SIZE | <length>, auto, landscape, portrait, inherit |
SPEAK | normal, none, spell-out, inherit |
speak-header | once, always, inherit |
speak-numeral | continues, digitals, inherit |
speak-punctuation | code, none, inherit |
speech-rate | x-slow, slow, medium, fast, x-fast 數字, slower, inherit |
STRESS | 0 ~ 100, inherit |
TABLE-LAYOUT | auto, fixed, inherit |
TEXT-ALIGN | left, right, center, justify, <string>, inherit |
text-decoration | none, underline, overline, line-through, blink, inherit |
TEXT-INDENT | <percentage>, <length>, inherit |
text-overflow | clip, ellipsis(...), ellipsis-word(a€|), inherit |
TEXT-SHADOW | none, 陰影, inherit |
text-transform | none, capitalize, lowercase, uppercase, inherit |
TOP | <percentage>, <length>, auto, inherit |
UNICODE-BIDI | normal, embed, bidi-override, inherit |
VERTICAL-ALIGN | baseline, <percentage>, <length>, top, middle, bottom, text-top, text-bottom, sub, super, inherit |
VISIBILITY | visible, hidden, collapse, inherit |
voice-family | 語音家族名稱, inherit |
VOLUME | 0 ~ 100, 百分比, silent, inherit x-soft(0), soft(25), medium(50), loud(75), x-loud(100) |
WHITE-SPACE | normal, pre, pre-line, pre-wrap, nowrap, inherit |
WIDOWS | 最少行數, inherit |
WIDTH | <percentage>, <length>, auto, inherit |
WORD-SPACING | normal, <length>, inherit |
WORD-WRAP | break-word, normal, inherit |
Z-INDEX | 整數, auto, inherit |
沒有留言:
張貼留言