Deepx Css Reference

ADVERTISEMENT

background-position (¥)
§ 5.3.6
margin-bottom (¥)
§ 5.5.3
CSS1 PROPERTIES
The Cascading Style Sheets Level 1 properties outlined here are grouped
Value:
[<percentage> | <length>]{1,2} | [top | center | bottom] ||
Value:
<length> | <percentage> | auto
into the appropriate categories. For each property the following
[left | center | right]
Default: 0
information is specified:
Default: 0% 0%
Percentage values: refer to parent element's width
??
Applies to: block-level and replaced elements
The property name and section number within the CSS1 specification
margin-left (¥)
§ 5.5.4
??
Percentage values: refer to the size of the element itself
The set of possible values for the property
Value:
<length> | <percentage> | auto
??
background (¥)
§ 5.3.7
The default value (in bold, or specified separately)
Default: 0
??
The elements that the property applies to (all unless otherwise stated)
Value:
<background-color> || <background-image> ||
Percentage values: refer to parent element's width
??
¥ indicates a property that is not inherited
<background-repeat> || <background-attachment> ||
margin (¥)
§ 5.5.5
The notation used in this Quick Reference is summarised at the end.
<background-position>
FONT PROPERTIES
Value:
<length> | <percentage> | auto {1, 4}
Default: not defined for shorthand properties
Default: not defined for shorthand properties
Percentage values: allowed on <background-position>
font-family
§ 5.2.2
Percentage values: refer to parent element's width
TEXT PROPERTIES
Value:
[[<family-name> | <generic-family>],]*
padding-top (¥)
§ 5.5.6
[<family-name> | <generic-family>]
word-spacing
§ 5.4.1
Value:
<length> | <percentage>
Default: UA specific
Default: 0
Value:
normal | <length>
Percentage values: refer to width of closest block-level ancestor
<generic-family>
letter-spacing
§ 5.4.2
padding-right (¥)
§ 5.5.7
serif | sans-serif | cursive | fantasy | monospace
Value:
normal | <length>
font-style
§ 5.2.3
Value:
<length> | <percentage>
text-decoration (¥)
§ 5.4.3
Default: 0
Value:
normal | italic | oblique
Value:
none | [ underline || overline || line-through || blink ]
Percentage values: refer to width of closest block-level ancestor
font-variant
§ 5.2.4
vertical-align (¥)
§ 5.4.4
padding-bottom (¥)
§ 5.5.8
Value:
normal | small-caps
Value:
<length> | <percentage>
Value:
baseline | sub | super | top | text-top | middle | bottom |
font-weight
§ 5.2.5
text-bottom | <percentage>
Default: 0
Value:
normal | bold | bolder | lighter |
Applies to: inline elements
Percentage values: refer to width of closest block-level ancestor
100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900
Percentage values: refer to the 'line-height' of the element itself
padding-left (¥)
§ 5.5.9
font-size
§ 5.2.6
Value:
<length> | <percentage>
text-transform
§ 5.4.5
Value:
<absolute-size> | <relative-size> | <length> | <percentage>
Default: 0
Percentage values: relative to parent element's font size
Value:
capitalize | uppercase | lowercase | none
Percentage values: refer to width of closest block-level ancestor
text-align
§ 5.4.6
padding (¥)
§ 5.5.10
<absolute-size>
Value:
left | right | center | justify
Value:
<length> | <percentage> {1, 4}
xx-small | x-small | small | medium | large | x-large | xx-large
Default: UA specific
Default: not defined for shorthand properties
<relative-size>
Percentage values: refer to width of closest block-level ancestor
Applies to: block-level elements
larger | smaller
text-indent
§ 5.4.7
border-top-width (¥)
§ 5.5.11
font
§ 5.2.7
Value:
<length> | <percentage>
Value:
thin | medium | thick | <length>
Value:
[ <font-style> || <font-variant> || <font-weight> ]?
Default: 0
border-right-width (¥)
§ 5.5.12
<font-size> [ / <line-height> ]? <font-family>
Applies to: block-level elements
Default: not defined for shorthand properties
Value:
thin | medium | thick | <length>
Percentage values: refer to parent element's width
Percentage values: allowed on <font-size> and <line-height>
border-bottom-width (¥)
§ 5.5.13
line-height
§ 5.4.8
COLOR AND BACKGROUND PROPERTIES
Value:
thin | medium | thick | <length>
Value:
normal | <number> | <length> | <percentage>
color
§ 5.3.1
border-left-width (¥)
§ 5.5.14
Percentage values: relative to the font size of the element itself
Value:
<color>
BOX PROPERTIES
Value:
thin | medium | thick | <length>
Default: UA specific
border-width (¥)
§ 5.5.15
margin-top (¥)
§ 5.5.1
background-color (¥)
§ 5.3.2
Value:
thin | medium | thick | <length> {1, 4}
Value:
<length> | <percentage> | auto
Value:
<color> | transparent
Default: not defined for shorthand properties
Default: 0
background-image (¥)
§ 5.3.3
border-color (¥)
§ 5.5.16
Percentage values: refer to parent element's width
Value:
<url> | none
margin-right (¥)
§ 5.5.2
Value:
<color>{1,4}
background-repeat (¥)
§ 5.3.4
Default: the value of the 'color' property
Value:
<length> | <percentage> | auto
border-style (¥)
§ 5.5.17
Value:
repeat | repeat-x | repeat-y | no-repeat
Default: 0
Percentage values: refer to parent element's width
background-attachment (¥)
§ 5.3.5
Value:
none | dotted | dashed | solid | double |
groove | ridge | inset | outset
Value:
scroll | fixed

ADVERTISEMENT

00 votes

Related Articles

Related forms

Related Categories

Parent category: Education
Go
Page of 2