Quick Reference For Css Page 2

ADVERTISEMENT

TEXT
cue
19.5
text-indent
16.1
Value:
[ <'cue-before'> || <'cue-after'> ] | inherit
Default: not defined for shorthand properties
Value:
<length> | <percentage> | inherit
play-during
19.6
Default: 0
Default: <uri> mix? repeat? | auto | none | inherit
text-align
16.2
azimuth
19.7
Value:
left | right | center | justify | <string> | inherit
Default: depends on user agent and writing direction
Value:
<angle> | [[ left-side | far-left | left | center-left |
center | center-right | right | far-right | right-side ] ||
QUICK REFERENCE
text-decoration
16.3
behind ] | leftwards | rightwards | inherit
Value:
none | [ underline || overline || line-through || blink ] |
elevation
19.7
speech-rate
19.8
inherit
Value:
Value:
text-shadow
16.3.2
<angle> | below | level |
<number> | x-slow | slow |
above | higher | lower |
medium | fast | x-fast |
Value:
inherit
faster | slower | inherit
none | [<color> || <length> <length> <length>? ,]* [<color> ||
Cascading Style Sheets
<length> <length> <length>?] | inherit
voice-family
19.8
letter-spacing
16.4
text-transform
16.5
Value:
[[<specific-voice> | <generic-voice> ],]* [<specific-voice> |
(CSS)
Value:
normal | <length> |
Value:
capitalize | uppercase |
<generic-voice> ] | inherit
inherit
lowercase | none | inherit
Default: depends on user agent
word-spacing
16.4
white-space
16.6
pitch
19.8
speak-punctuation
19.9
Level 2
Value:
normal | <length> |
Value:
normal | pre | nowrap |
Default: <frequency> | x-low | low
Value:
code | none | inherit
inherit
inherit
| medium | high | x-high |
speak-numeral
19.9
inherit
TABLES
pitch-range, stress, richness
19.8
Value:
digits | continuous |
W3C Recommendation
inherit
caption-side
17.4.1
border-spacing
17.6.1
12-May-1998
Value:
<number> | inherit
Default: 50
Value:
top | bottom | left |
Value:
<length> <length>? |
right | inherit
inherit
UNITS
Default: 0
table-layout
17.5.2
empty-cells
17.6.1
Relative Length Units
4.3.2
Times
4.3.8
Value:
auto | fixed | inherit
Value:
show | hide | inherit
em, ex, px
ms, s
border-collapse
17.6
speak-header
17.7.1
Absolute Length Units
4.3.2
Frequencies
4.3.9
Value:
collapse | separate |
Table of Contents:
inherit
Value:
in, cm, mm, pt, pc
Hz, kHz
once | always | inherit
Angle
4.3.7
Color Units
4.3.6
B
M
USER INTERFACE
OX
ODEL
V
F
M
ISUAL
ORMATTING
ODEL
deg, grad, rad
#f00, #ff0000, rgb(255,0,0),
V
F
M
D
cursor
18.1
ISUAL
ORMATTING
ODEL
ETAILS
rgb(100%, 0%, 0%)
V
E
ISUAL
FFECTS
Value:
[ [<uri> ,]* [ auto | crosshair | default | pointer | move |
PSEUDO CLASSES, PSEUDO ELEMENTS AND MEDIA TYPES
G
C
, A
N
,
L
ENERATED
ONTENT
UTOMATIC
UMBERING
AND
ISTS
e-resize | ne-resize | nw-resize | n-resize | se-resize | sw-
P
M
AGED
EDIA
resize | s-resize | w-resize| text | wait | help ] ] | inherit
Anchor Pseudo Classes
Media Types
C
B
OLORS AND
ACKGROUNDS
outline
18.4
outline-width
18.4
F
ONTS
a:link
/* unvisited link */
all, aural, braille, embossed,
T
EXT
a:visited /* visited links */
handheld, print, projection,
Value:
[ <'outline-color'> ||
Value:
<border-width> | inherit
T
ABLES
a:active
/* active links */
screen, tty, tv
<'outline-style'> ||
Default: medium
U
I
SER
NTERFACE
<'outline-width'> ] |
Typographic Pseudo Elements
outline-style
18.4
A
S
S
URAL
TYLE
HEETS
inherit
U
NITS
p:first-line
/* first line of p element */
Default: see individual properties
Value:
<border-style> | inherit
P
C
, P
E
M
T
SEUDO
LASSES
SEUDO
LEMENTS AND
EDIA
YPES
p:first-letter
/* first letter of p element */
Default: none
CSS S
AMPLES
p:before
/* content before p in document tree */
outline-color
18.4
N
p:after
/* content after p in document tree */
OTATION
@page:left
/* left page margin properties */
Value:
<color> | invert | inherit
@page:right
/* right page margin properties */
AURAL STYLE SHEETS
CSS SAMPLES
h1 { font-family: Times; }
/* all h1 elements */
volume
19.2
h1, h2 { font-width: bold; }
/* all h1 and h2 elements */
Value:
h1 em { color: red; }
/* em elements within h1 elements/
<number> | <percentage> | silent | x-soft | soft | medium |
.para { font-family: Arial; } /* all elements with class=’para’ */
loud | x-loud | inherit
#p4 { letter-spacing: 12px; } /* the element with id=’p4’ */
speak
19.3
pause-before, pause-after
19.4
@page:left { margin: 2cm }
/* margin for media type ’page’*/
@import "list.css";
/* import from file ’list.css’ */
Value:
normal | none | spell-out
Value:
<time> | <percentage> |
| inherit
inherit
NOTATION
Default: depends on user agent
a b
a followed by b
pause
19.4
[a b]
Grouping of a and b
a | b
a or b
Value:
[ [<time> | <percentage>]{1,2} ] | inherit
a || b
either a or b or both in any order
Default: depends on user agent
Benjamin Jung
Benjamin.Jung@cs.tcd.ie
a?
a is optional
cue-before
19.5
Trinity College Dublin,
a*
zero or more occurrences of a
a+
one or more occurrences of a
Ireland
Value:
<uri> | none | inherit
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