Propiedades_CSS2

download Propiedades_CSS2

If you can't read please download the document

description

Tutorial de CSS

Transcript of Propiedades_CSS2

Appendix F. Property indexNameValuesInitial valueApplies toInherited?PercentagesMedia groups'azimuth' | [[ left-side | far-left | left | center-left | center | center-right | right | far-right | right-side ] || behind ] | leftwards | rightwards | inherit center yes aural'background' ['background-color' || 'background-image' || 'background-repeat' || 'background-attachment' || 'background-position'] | inherit XX no allowed on 'background-position' visual'background-attachment' scroll | fixed | inherit scroll no visual'background-color' | transparent | inherit transparent no visual'background-image' | none | inherit none no visual'background-position' [ [ | ]{1,2} | [ [top | center | bottom] || [left | center | right] ] ] | inherit 0% 0% block-level and replaced elements no refer to the size of the box itself visual'background-repeat' repeat | repeat-x | repeat-y | no-repeat | inherit repeat no visual'border' [ 'border-width' || 'border-style' || ] | inherit see individual properties no visual'border-collapse' collapse | separate | inherit collapse 'table' and 'inline-table' elements yes visual'border-color' {1,4} | transparent | inherit see individual properties no visual'border-spacing' ? | inherit 0'table' and 'inline-table' elements yes visual'border-style' {1,4} | inherit see individual properties no visual'border-top' 'border-right' 'border-bottom' 'border-left' [ 'border-top-width' || 'border-style' || ] | inherit see individual properties no visual'border-top-color' 'border-right-color' 'border-bottom-color' 'border-left-color' | inherit the value of the 'color' property no visual'border-top-style' 'border-right-style' 'border-bottom-style' 'border-left-style' | inherit none no visual'border-top-width' 'border-right-width' 'border-bottom-width' 'border-left-width' | inherit medium no visual'border-width' {1,4} | inherit see individual properties no visual'bottom' | | auto | inherit auto positioned elements no refer to height of containing block visual'caption-side' top | bottom | left | right | inherit top 'table-caption' elements yes visual'clear' none | left | right | both | inherit none block-level elements no visual'clip' | auto | inherit auto block-level and replaced elements no visual'color' | inherit depends on user agent yes visual'content' [ | | | attr(X) | open-quote | close-quote | no-open-quote | no-close-quote ]+ | inherit empty string :before and :after pseudo-elements no all'counter-increment' [ ? ]+ | none | inherit none no all'counter-reset' [ ? ]+ | none | inherit none no all'cue' [ 'cue-before' || 'cue-after' ] | inherit XX no aural'cue-after' | none | inherit none no aural'cue-before' | none | inherit none no aural'cursor' [ [ ,]* [ auto | crosshair | default | pointer | move | e-resize | ne-resize | nw-resize | n-resize | se-resize | sw-resize | s-resize | w-resize| text | wait | help ] ] | inherit auto yes visual, interactive'direction' ltr | rtl | inherit ltr all elements, but see prose yes visual'display' 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 inline no all'elevation' | below | level | above | higher | lower | inherit level yes aural'empty-cells' show | hide | inherit show 'table-cell' elements yes visual'float' left | right | none | inherit none all but positioned elements and generated content no visual'font' [ [ 'font-style' || 'font-variant' || 'font-weight' ]? 'font-size' [ / 'line-height' ]? 'font-family' ] | caption | icon | menu | message-box | small-caption | status-bar | inherit see individual properties yes allowed on 'font-size' and 'line-height' visual'font-family' [[ | ],]* [ | ] | inherit depends on user agent yes visual'font-size' | | | | inherit medium yes, the computed value is inherited refer to parent element's font size visual'font-size-adjust' | none | inherit none yes visual'font-stretch' normal | wider | narrower | ultra-condensed | extra-condensed | condensed | semi-condensed | semi-expanded | expanded | extra-expanded | ultra-expanded | inherit normal yes visual'font-style' normal | italic | oblique | inherit normal yes visual'font-variant' normal | small-caps | inherit normal yes visual'font-weight' normal | bold | bolder | lighter | 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | inherit normal yes visual'height' | | auto | inherit auto all elements but non-replaced inline elements, table columns, and column groups no see prose visual'left' | | auto | inherit auto positioned elements no refer to width of containing block visual'letter-spacing' normal | | inherit normal yes visual'line-height' normal | | | | inherit normal yes refer to the font size of the element itself visual'list-style' [ 'list-style-type' || 'list-style-position' || 'list-style-image' ] | inherit XX elements with 'display: list-item' yes visual'list-style-image' | none | inherit none elements with 'display: list-item' yes visual'list-style-position' inside | outside | inherit outside elements with 'display: list-item' yes visual'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 disc elements with 'display: list-item' yes visual'margin' {1,4} | inherit XX no refer to width of containing block visual'margin-top' 'margin-right' 'margin-bottom' 'margin-left' | inherit 0no refer to width of containing block visual'marker-offset' | auto | inherit auto elements with 'display: marker' no visual'marks' [ crop || cross ] | none | inherit none page context N/A visual, paged'max-height' | | none | inherit none all elements except non-replaced inline elements and table elements no refer to height of containing block visual'max-width' | | none | inherit none all elements except non-replaced inline elements and table elements no refer to width of containing block visual'min-height' | | inherit 0all elements except non-replaced inline elements and table elements no refer to height of containing block visual'min-width' | | inherit UA dependent all elements except non-replaced inline elements and table elements no refer to width of containing block visual'orphans' | inherit 2block-level elements yes visual, paged'outline' [ 'outline-color' || 'outline-style' || 'outline-width' ] | inherit see individual properties no visual, interactive'outline-color' | invert | inherit invert no visual, interactive'outline-style' | inherit none no visual, interactive'outline-width' | inherit medium no visual, interactive'overflow' visible | hidden | scroll | auto | inherit visible block-level and replaced elements no visual'padding' {1,4} | inherit XX no refer to width of containing block visual'padding-top' 'padding-right' 'padding-bottom' 'padding-left' | inherit 0no refer to width of containing block visual'page' | auto auto block-level elements yes visual, paged'page-break-after' auto | always | avoid | left | right | inherit auto block-level elements no visual, paged'page-break-before' auto | always | avoid | left | right | inherit auto block-level elements no visual, paged'page-break-inside' avoid | auto | inherit auto block-level elements yes visual, paged'pause' [ [ | ]{1,2} ] | inherit depends on user agent no see descriptions of 'pause-before' and 'pause-after' aural'pause-after' | | inherit depends on user agent no see prose aural'pause-before' | | inherit depends on user agent no see prose aural'pitch' | x-low | low | medium | high | x-high | inherit medium yes aural'pitch-range' | inherit 50yes aural'play-during' mix? repeat? | auto | none | inherit auto no aural'position' static | relative | absolute | fixed | inherit static all elements, but not to generated content no visual'quotes' [ ]+ | none | inherit depends on user agent yes visual'richness' | inherit 50yes aural'right' | | auto | inherit auto positioned elements no refer to width of containing block visual'size' {1,2} | auto | portrait | landscape | inherit auto the page context N/A visual, paged'speak' normal | none | spell-out | inherit normal yes aural'speak-header' once | always | inherit once elements that have table header information yes aural'speak-numeral' digits | continuous | inherit continuous yes aural'speak-punctuation' code | none | inherit none yes aural'speech-rate' | x-slow | slow | medium | fast | x-fast | faster | slower | inherit medium yes aural'stress' | inherit 50yes aural'table-layout' auto | fixed | inherit auto 'table' and 'inline-table' elements no visual'text-align' left | right | center | justify | | inherit depends on user agent and writing direction block-level elements yes visual'text-decoration' none | [ underline || overline || line-through || blink ] | inherit none no (see prose) visual'text-indent' | | inherit 0block-level elements yes refer to width of containing block visual'text-shadow' none | [ || ? ,]* [ || ?] | inherit none no (see prose) visual'text-transform' capitalize | uppercase | lowercase | none | inherit none yes visual'top' | | auto | inherit auto positioned elements no refer to height of containing block visual'unicode-bidi' normal | embed | bidi-override | inherit normal all elements, but see prose no visual'vertical-align' baseline | sub | super | top | text-top | middle | bottom | text-bottom | | | inherit baseline inline-level and 'table-cell' elements no refer to the 'line-height' of the element itself visual'visibility' visible | hidden | collapse | inherit inherit no visual'voice-family' [[ | ],]* [ | ] | inherit depends on user agent yes aural'volume' | | silent | x-soft | soft | medium | loud | x-loud | inherit medium yes refer to inherited value aural'white-space' normal | pre | nowrap | inherit normal block-level elements yes visual'widows' | inherit 2block-level elements yes visual, paged'width' | | auto | inherit auto all elements but non-replaced inline elements, table rows, and row groups no refer to width of containing block visual'word-spacing' normal | | inherit normal yes visual'z-index' auto | | inherit auto positioned elements no visual

???Pgina ??? (???)00/00/0000, 00:00:00Pgina /