margin-top marks margin-right page-break-before margin-bottom Syntaxe Modèle de boîte page-break-after margin-left /*commentaires*/ page-break-inside @media { Zone visible width page padding * sélecteur { orphans padding-top propriété: valeurs; windows padding-right } padding-bottom } Couleur / Arrière-plan padding-left (type de support optionnel) color * background border * Sélecteurs background-color border-top * Styles appliqués à: background-image border-right * * Tous les éléments background-repeat border-bottom * div <div> background-attachment border-left * div * Eléments dans <div> background-position div span <span> dans <div> border-color * div, span <div> et <span> Polices border-top-color div > span <span> dont le parent * font height border padding margin border-right-color direct est <div> font-family border-bottom-color div + span <span> précédé par font-style border-left-color <div> ... </div> font-variant .class Eléments de classe "class" Unités font-weight border-style * div.class <div> de classe "class" px Pixels font-stretch border-top-style #itemid Elément dont l'id est em 1em équivaut à la taille font-size border-right-style "itemid" de police de l'élément font-size-adjust border-bottom-style div#itemid <div> dont l'id est père (idem que 100%) border-left-style "itemid" ex Hauteur d'un "x" Texte a[class] <a> avec une classe minuscule text-indent border-width * a[class='x'] <a> dont la classe est % Pourcentage text-align border-top-width "x" in Pouces text-decoration border-right-width a[class~='x'] <a> avec une liste de cm Centimètres text-shadow border-bottom-width classes séparées par mm Millimètres letter-spacing border-left-width des espaces, dont l'une pt 1pt = 1/72in word-spacing d'elles est "x" pc 1pc = 12pt text-transform Positionnement a[lang|='en'] <a> dont la langue #789abc Notation héxa. RVB white-space display commence par "en" #acf Equivaut à "#aaccff" position rgb(0,25,50) Valeur (de 0 à 255) de Tableaux top Pseudo-classes et pseudo-éléments rouge, de vert et de caption-side right Styles appliqués à: bleu. Des pourcentages table-layout bottom :first-child Premier enfant de peuvent aussi être border-collapse left l'élément utilisés border-spacing float :first-line Première ligne de 0 La valeur nulle ne empty-cells clear l'élément requiert pas d'unité speak-header z-index :first-letter Première lettre de direction l'élément Propriétés qui héritent Interface unicode-bidi :hover Elément survolé azimuth list-style cursor overflow :active Elément activé border-collapse list-style-image * outline clip:focus Elément avec le focus border-spacing list-style-position outline-width visibility :link Lien non-visité caption-side list-style-type outline-style :visited Lien visité color orphans outline-color Dimensions :lang(x) Elément de langue "x" cursor page width direction page-break-inside Oral min-width Types de support (@media) empty-cells quotes volume max-width all projection font speak speak height braille screen font-family speak-header * pause min-height embossed speech font-stretch text-align pause-before max-height handheld tty font-size text-indent pause-after line-height print tv font-size-adjust text-transform * cue vertical-align font-style volume cue-before font-variant white-space cue-after Divers font-weight widows play-during content letter-spacing word-spacing azimuth quotes line-height elevation counter-reset speech-rate counter-increment voice-family marker-offset pitch list-style * pitch-range list-style-type stress list-style-image richness list-style-position speak-punctuation speak-numeral * : propriété raccourcie
Version 1.1 (9 mai 2005)
Adresse : http://goetzilla.info/index.php/2005/05/08/4-aide-memoire-css Original : http://www.ilovejackdaniels.com/css/css-cheat-sheet/