Deepx Css Reference Page 2

ADVERTISEMENT

border-top (¥)
§ 5.5.18
UNITS
Value:
<border-top-width> || <border-style> || <color>
Length units
§ 6.1
Default: not defined for shorthand properties
<length>
border-right (¥)
§ 5.5.19
(+ | -)? <number> <unit>
Value:
<border-right-width> || <border-style> || <color>
<number>
Default: not defined for shorthand properties
<digit>+[. <digit>*]?
<unit>
border-bottom (¥)
§ 5.5.20
<absolute-unit> | <relative-unit>
Quick Reference
Value:
<border-bottom-width> || <border-style> || <color>
<absolute-unit>
Default: not defined for shorthand properties
mm | cm | in | pt | pc
border-left (¥)
§ 5.5.21
<relative-unit>
em | ex | px
Value:
<border-left-width> || <border-style> || <color>
Percentage Units
§ 6.2
Cascading Style Sheets
Default: not defined for shorthand properties
border (¥)
§ 5.5.22
<percentage>
<number>%
(CSS)
Value:
<border-width> || <border-style> || <color>
Color Units
§ 6.3
Default: not defined for shorthand properties
Level 1
width (¥)
§ 5.5.23
<color>
<color-name> | <rgb-color>
Value:
<length> | <percentage> | auto
<color-name>
Applies to: block-level and replaced elements
aqua | black | blue | fuchsia | gray | green | lime | maroon |
W3C Recommendation
Percentage values: refer to parent element's width
navy | olive | purple | red | silver | teal | white | yellow
17 December 1996, revised 11 January 1999
height (¥)
§ 5.5.24
<rgb-color>
#<hex><hex><hex> |
Value:
<length> | auto
#<hex><hex><hex><hex><hex><hex> |
Applies to: block-level and replaced elements
rgb(<number>, <number>, <number>) |
float (¥)
§ 5.5.25
rgb(<percentage> <percentage>, <percentage>)
Value:
left | right | none
URL
§ 6.4
clear (¥)
§ 5.5.26
<url>
Table of Contents:
Value:
none | left | right | both
url(text)
Properties
CLASSIFICATION PROPERTIES
PSEUDO CLASSES AND PSEUDO ELEMENTS
· Font Properties
· Color and Background Properties
display (¥)
§ 5.6.1
Anchor Pseudo Classes
Typographic Pseudo Elements
· Text Properties
Value:
block | inline | list-item | none
A:link /* unvisited link */
P:first-line /* first line of a P element */
· Box Properties
A:visited /* visited links */
P:first-letter /* first letter of a P element */
white-space
§ 5.6.2
· Classification Properties
A:active /* active links */
Value:
normal | pre | nowrap
Units
CSS SAMPLES
list-style-type
§ 5.6.3
· Length Units
H1 { font-family: Times } /* all ‘H1’ elements */
· Percentage Units
Value:
disc | circle | square | decimal | lower-roman | upper-roman |
· Color Units
lower-alpha | upper-alpha | none
H1, H2 { color: blue } /* all ‘H1’ and ‘H2’ elements */
Applies to: elements with 'display' value 'list-item'
· URL
list-style-image
§ 5.6.4
H1 EM { color : red } /* ‘EM’ elements within ‘H1’ elements/
Pseudo Class and Pseudo elements
Value:
<url> | none
.para { font-family: Arial } /* all elements with CLASS ‘para’ */
Applies to: elements with 'display' value 'list-item'
CSS Samples
list-style-position
§ 5.6.5
H1#z98y { letter-spacing: 0.5em } /* the ‘H1’ element with ID ‘z98y’ */
Notation
Value:
inside | outside
NOTATION
Applies to: elements with 'display' value 'list-item'
a b
a followed by b
list-style
§ 5.6.6
[a b]
Grouping of a and b
deepX Ltd.
Value:
<list-style-type> || <list-style-position> || <list-style-image>
a | b
a or b
Default: not defined for shorthand properties
a || b
either a or b or both in any order
Dublin, Ireland
Applies to: elements with 'display' value 'list-item'
a?
a is optional
a*
zero or more occurrences of a
a+
one or more occurrences of a
a{1, 4}
a occurs at least once and at most 4 times

ADVERTISEMENT

00 votes

Related Articles

Related forms

Related Categories

Parent category: Education
Go
Page of 2