Règles

@style {}
@charset {}
@import {}
@media {}
@font-face {}
@page {}

@unknown {} ?
@quirks {} ?

Sélecteurs

#A    : id
.a    : class
*     : tout
A + B : B est directement après A
A ~ B : B est après A (CSS3)
A > B : B est directement enfant de A
A B   : B est descendant de A

[attribut=chaine]  exact
[attribut chaine]  fait parti?
[attribut~=chaine] liste séparé par des espaces
[attribut|=chaine] liste séparé par des virgules
[attribut^=chaine] commence par
[attribut$=chaine] finit par (CSS3)
[attribut*=chaine] contient  (CSS3)

Pseudo-sélecteurs

:active
:before
:contains
:empty
:first-child
:first-letter
:first-line
:first-of-type
:focus
:hover
:link
:lang()
:last-child
:last-of-type
:not()
:nth-child()
:nth-last-child()
:nth-of-type()
:nth-last-of-type()
:only-child
:only-of-type
:root
:selection
:target
:visited

Propriétés

# CSS_PROP_BACKGROUND_COLOR:
#
background-color
background-image
background-repeat
background-attachment
background-position
# IE Extensions
background-position-x
background-position-y

border-collapse
border-spacing
-khtml-border-horizontal-spacing
-khtml-border-vertical-spacing
border-top-color
border-right-color
border-bottom-color
border-left-color
border-top-style
border-right-style
border-bottom-style
border-left-style
border-top-width
border-right-width
border-bottom-width
border-left-width
bottom
caption-side
clear
clip
color
content
counter-increment
counter-reset
cursor
direction
display
empty-cells
float
font-family
font-size
font-style
font-variant
font-weight
height
left
letter-spacing
line-height
list-style-image
list-style-position
list-style-type
margin-top
margin-right
margin-bottom
margin-left
-khtml-marquee
-khtml-marquee-direction
-khtml-marquee-increment
-khtml-marquee-repetition
-khtml-marquee-speed
-khtml-marquee-style
max-height
max-width
min-height
min-width
orphans
outline-color
outline-style
outline-width
overflow
padding-top
padding-right
padding-bottom
padding-left
#page                <-- not implemeted yet
page-break-after
page-break-before
page-break-inside
position
quotes
right
size
table-layout
text-align
text-decoration
text-indent
text-transform
top
unicode-bidi
vertical-align
visibility
white-space
widows
width
word-spacing
z-index
background
border
border-color
border-style
border-top
border-right
border-bottom
border-left
border-width
box-sizing
font
list-style
margin
outline
padding
# some more IE extensions
scrollbar-base-color
scrollbar-face-color
scrollbar-shadow-color
scrollbar-highlight-color
scrollbar-3dlight-color
scrollbar-darkshadow-color
scrollbar-track-color
scrollbar-arrow-color
# khtml internals
-khtml-flow-mode
-khtml-user-input
-khtml-text-decoration-color

Valeurs

inherit
initial

#
# CSS_PROP_OUTLINE_STYLE
# CSS_PROP_BORDER_TOP_STYLE
# CSS_PROP_BORDER_BOTTOM_STYLE
# CSS_PROP_BORDER_LEFT_STYLE
-khtml-native
none
hidden
inset
groove
ridge
outset
dotted
dashed
solid
double
#
# CSS_PROP_FONT:
#
caption
icon
menu
message-box
small-caption
status-bar
#
# CSS_PROP_FONT_STYLE:
#
#normal
italic
oblique
#
# CSS_PROP_FONT_VARIANT:
#
#normal
small-caps
#
# CSS_PROP_FONT_WEIGHT:
#
normal
bold
bolder
lighter
100
200
300
400
500
600
700
800
900
#
# CSS_PROP_FONT_SIZE:
#
xx-small
x-small
small
medium
large
x-large
xx-large
-khtml-xxx-large
smaller
larger
#
# CSS_PROP_FONT_STRETCH:
#
#normal
wider
narrower
ultra-condensed
extra-condensed
condensed
semi-condensed
semi-expanded
expanded
extra-expanded
ultra-expanded
#
# CSS_PROP_GENERIC_FONT_FAMILY:
#
serif
sans-serif
cursive
fantasy
monospace
#
#
# CSS_PROP_BACKGROUND_COLOR:
#
transparent
invert ??
#
#
# CSS_PROP_*_COLOR
#
aqua    : #00FFFF
black   : #000000
blue    : #0000FF
crimson : #DC143C
fuchsia : #FF00FF
gray    : #808080
green   : #008000
indigo  : #4B0082
lime    : #00FF00
maroon  : #800000
navy    : #000080
olive   : #808000
orange  : #FFA500
purple  : #800080
red     : #FF0000
silver  : #C0C0C0
teal    : #008080
white   : #FFFFFF
yellow  : #FFFF00
activeborder
activecaption
appworkspace
background
buttonface
buttonhighlight
buttonshadow
buttontext
captiontext
graytext
highlight
highlighttext
inactiveborder
inactivecaption
inactivecaptiontext
infobackground
infotext
menutext
scrollbar
threeddarkshadow
threedface
threedhighlight
threedlightshadow
threedshadow
window
windowframe
windowtext
#
# colors in non strict mode
grey        : #808080
-khtml-text
#
# CSS_PROP_BACKGROUND_REPEAT:
#
repeat
repeat-x
repeat-y
no-repeat
#
# CSS_PROP_VERTICAL_ALIGN:
#
baseline
middle
sub
super
text-top
text-bottom
top
bottom
# HTML alignment MIDDLE has no corresponding CSS alignment
-khtml-baseline-middle
#
# CSS_PROP_TEXT_ALIGN:
#
-khtml-auto
left
right
center
justify
-khtml-left
-khtml-right
-khtml-center
#
#
# CSS_PROP_LIST_STYLE_POSITION:
#
outside
inside
#
# CSS_PROP_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

#CSS3 :
-khtml-arabic-indic
-khtml-persian
-khtml-upper-greek
-khtml-diamond

#
# CSS_PROP_DISPLAY:
#
inline
block
list-item
run-in
compact
inline-block
table
inline-table
table-row-group
table-header-group
table-footer-group
table-row
table-column-group
table-column
table-cell
table-caption
#none
#
# CSS_PROP_CURSOR:
#
auto
crosshair
default
pointer
progress
move
e-resize
ne-resize
nw-resize
n-resize
se-resize
sw-resize
s-resize
w-resize
text
wait
help
#
# CSS_PROP_DIRECTION:
#
ltr
rtl
#
# CSS_PROP_TEXT_TRANSFORM:
#
capitalize
uppercase
lowercase
#none
#
# CSS_PROP_VISIBILITY:
#
visible
#hidden
collapse
#
# Unordered rest
#
above
absolute
always
avoid
below
bidi-override
blink
both
close-quote
crop
cross
embed
fixed
hand
hide
higher
invert
landscape
level
line-through
loud
lower
marquee
mix
no-close-quote
no-open-quote
nowrap
open-quote
overline
portrait
pre
relative
scroll
separate
show
static
thick
thin
underline
-khtml-nowrap
#
# CSS_PROP__KHTML_FLOW_MODE
-khtml-normal
-khtml-around-floats

# CSS3 Values
# CSS_PROP__KHTML_BOX_SIZING
border-box
content-box

# CSS_PROP__KHTML_USER_INPUT
enabled
disabled
#none

# CSS_PROP_MARQUEE_DIRECTION
forwards
backwards
ahead
reverse
# left
# right
up
down
# auto

# CSS_PROP_MARQUEE_SPEED
slow
# normal
fast

# CSS_PROP_MARQUEE_REPETITION
infinite

# CSS_PROP_MARQUEE_STYLE
# none
slide
# scroll
alternate
unfurl

#
# Not supported CSS 2 Aural values
#
# CSS_PROP_AZIMUTH:
#
#A left-side
#A far-left
#A #left
#A center-left
#A #center
#A center-right
#A right
#A far-right
#A right-side
#A behind
#A leftwards
#A rightwards
#
# CSS_PROP_SPEECH_RATE:
#
#A x-slow
#A slow
#A #medium
#A x-fast
#A fast
#A faster
#A slower
#
# CSS_PROP_VOLUME:
#
#A silent
#A x-soft
#A soft
#A #medium
#A high
#A x-high
#A x-loud
#
# CSS_PROP_PITCH:
#
#A x-low
#A low
#A #medium
#A #high
#A #x-high
#
# CSS_PROP_SPEAK:
#
#A #normal
#A #none
#A spell-out
#
# CSS_PROP_SPEAK_HEADER:
#
#A #once
#A always
#
# CSS_PROP_SPEAK_NUMERAL:
#
#A digits
#A continuous
#
# CSS_PROP_SPEAK_PUNCTUATION:
#
#A code
#A #none


Unités

qems

Aide au parser...

@-khtml-rule { }
@-khtml-value { }
@-khtml-decls{ }

Note: les lignes commencant par # sont en commentaires (non tenues en compte)