This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision | |||
|
notes:css_cheat_sheet [2026/07/25 20:46] 168.228.37.140 old revision restored (2026/07/19 15:42) |
notes:css_cheat_sheet [2026/07/26 02:43] (current) 149.62.204.78 old revision restored (2026/07/15 19:17) |
||
|---|---|---|---|
| Line 43: | Line 43: | ||
| * CSS uses C-style comments - /* comment */ . | * CSS uses C-style comments - /* comment */ . | ||
| - | ==== CSS Properties ==== | + | ==== CSS Background/ |
| * Background properties examples <code html> | * Background properties examples <code html> | ||
| background-color: | background-color: | ||
| Line 53: | Line 53: | ||
| </ | </ | ||
| * Text properties examples <code html> | * Text properties examples <code html> | ||
| + | color: # | ||
| + | text-align: center/ | ||
| + | letter-spacing: | ||
| + | white-space: | ||
| + | text-decoration: | ||
| + | text-transform: | ||
| + | </ | ||
| + | * Font properties examples <code html> | ||
| + | font-family: | ||
| + | font-size-adjust: | ||
| + | font-style: italic/ | ||
| + | font-weight: | ||
| + | font: italic small-caps 900 12px arial | ||
| + | font: caption/ | ||
| + | ==== CSS Border/List Properties ==== | ||
| + | * Border properties examples (btlr=bottom/ | ||
| + | border-style: | ||
| + | border-btlr: | ||
| + | border-width: | ||
| + | border-color: | ||
| + | outline-color/ | ||
| + | * A margin describes space around the element. Padding defines the space between border and content.< | ||
| + | margin: width x 4 (trbl); margin-btlr | ||
| + | padding: width x 4 (trbl); padding-btlr</ | ||
| + | * List properties examples <code html> | ||
| + | list-style-type: | ||
| + | list-style-type: | ||
| + | list-style-image: | ||
| + | list-style-position: | ||
| + | list-style: type position image</ | ||
| + | * Table properties examples <code html> | ||
| + | table-layout: | ||
| + | border-collapse: | ||
| + | border-spacing: | ||
| + | </ | ||