CSS aide mémoire

SYNTAX
Syntax
selector {property: value;}
External Style Sheet
<link rel= »stylesheet » type= »text/css » href= »style.css » />
Internal Style
<style type= »text/css »>
selector {property: value;}
</style>
Inline Style
<tag style= »property: value »>
GENERAL
Class String preceded by a period
ID String preceded by a hash mark
div Formats structure or block of text
span Inline formatting
color Foreground color
cursor Appearance of the cursor
display
block; inline; list-item; none
overflow How content overflowing its box is handled

visible, hidden, scroll, auto
visibility
visible, hidden
FONT
font-style
Italic, normal
font-variant
normal, small-caps
font-weight
bold, normal, lighter, bolder, integer (100-900)
font-size Size of the font
font-family Specific font(s) to be used
TEXT
letter-spacing Space between letters
line-height Vertical distance between baselines
text-align Horizontal alignment
text-decoration
blink, line-through, none, overline, underline
text-indent First line indentation
text-transform
capitalize, lowercase, uppercase
vertical-align Vertical alignment
word-spacing Spacing between words


Aide-Mémoire CSS

Sélecteur

Typographie

Arrière-Plans

Bloc et bordure

Tableaux

Positionnement

Liste

Page (balise @page)

CSS3

iPhone, iPod, iPad et autres téléphones.

     

Laisser un commentaire

Votre adresse e-mail ne sera pas publiée. Les champs obligatoires sont indiqués avec *

forty nine − forty seven =