Ci-dessous, les différences entre deux révisions de la page.
| Les deux révisions précédentes Révision précédente Prochaine révision | Révision précédente | ||
|
code_language:css [2022/04/28 08:47] 86.201.9.2 [Propriétés de positionnement et d'affichage] |
code_language:css [2025/12/17 23:57] (Version actuelle) 216.73.216.214 ancienne révision (2022/04/28 07:57) restaurée |
||
|---|---|---|---|
| Ligne 35: | Ligne 35: | ||
| ==== Propriétés des boîtes ==== | ==== Propriétés des boîtes ==== | ||
| ^ Propriété ^ Valeurs ^ Description ^ | ^ Propriété ^ Valeurs ^ Description ^ | ||
| - | | width | 150px, | + | | width | | | |
| - | | height | 150px, | + | | height | | | |
| - | | min-widht | 150px, | + | | min-widht | | | |
| - | | max-widht | 150px, | + | | max-widht | | | |
| - | | min-height | 150px, | + | | min-height | | | |
| - | | max-height | 150px, | + | | max-height | | | |
| - | | margin-top | 23px | Marge en haut (écart extérieur) | + | | margin-top | | | |
| - | | margin-left | 23px | Marge à gauche (écart extérieur) | + | | margin-left | | | |
| - | | margin-right | 23px | Marge à droite (écart extérieur) | + | | margin-right | | | |
| - | | margin-bottom | 23px | Marge en bas (écart extérieur) | + | | margin-bottom | | | |
| - | | margin | 23px, 5px 23px 5px (haut, droite, bas, gauche| Super-propriété de marge. | + | | margin | | | |
| - | | padding-left | 23px | Marge intérieur gauche | + | | padding-left | | | |
| - | | padding-right | 23px | Marge intérieur droite | + | | padding-right | | | |
| - | | padding-bottom | 23px | Marge intérieur bas | | + | | padding-bottom | | | |
| - | | padding-top | 23px | Marge intérieur haut | | + | | padding-top | | | |
| - | | padding | 23px 5px 23px 5px (haut, droite, bas, gauche) | + | | padding | | | |
| - | | border-width | 3px | Epaisseur de bordure | + | | border-width | | | |
| - | | border-color | nom, rgb(rouge, | + | | border-color | | | |
| - | | border-style | solide, dotted, dashed, double, groove, ridghe, inset, outset | + | | border-style | | | |
| - | | border | 3px solid black | Super propriété de bodure. On peut également utiliser border-top, | + | | border | | | |
| - | | border-radius | 5px | Bordure arrondie | + | | border-radius | | | |
| - | | box-shadow | 6px 6px 0px black | Ombre de boîte | + | | box-shadow | | | |
| ==== Propriétés de positionnement et d' | ==== Propriétés de positionnement et d' | ||
| ^ Propriété ^ Valeurs ^ Description ^ | ^ Propriété ^ Valeurs ^ Description ^ | ||
| - | | display | + | | | | | |
| - | | visibility | + | | | | | |
| - | | clip | rect (0px, 60px, 30px, 0px) rect (haut, droite, bas, gauche) | + | | | | | |
| - | | overflow | + | | | | | |
| - | | float | left, right, none | Flottant | + | | | | | |
| - | | clear | left, right, both, none | Arrêt d'un flottant | + | | | | | |
| - | | position | + | | | | | |
| - | | top | 20px | Position par rapport au haut | | + | | | | | |
| - | | bottom | + | | | | | |
| - | | left | 20px | Position par rapport à la gauche | + | | | | | |
| - | | right | 20px | Position par rapport à la droite | | + | |
| - | | z-index | 10 | Ordre d' | + | |
| - | + | ||