This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
notes:css_cheat_sheet [2026/11/02 09:40] 171.251.236.78 old revision restored (2026/08/03 06:42) |
notes:css_cheat_sheet [2026/11/04 18:03] (current) 187.189.87.46 old revision restored (2026/08/12 06:31) |
||
|---|---|---|---|
| Line 54: | Line 54: | ||
| * Text properties examples <code html> | * Text properties examples <code html> | ||
| color: # | color: # | ||
| - | text-align: | + | text-align: center/ |
| letter-spacing: | letter-spacing: | ||
| white-space: | white-space: | ||
| Line 67: | Line 67: | ||
| font: italic small-caps 900 12px arial | font: italic small-caps 900 12px arial | ||
| font: caption/ | font: caption/ | ||
| - | |||
| ==== CSS Border/List Properties ==== | ==== CSS Border/List Properties ==== | ||
| * Border properties examples (btlr=bottom/ | * Border properties examples (btlr=bottom/ | ||
| - | border-style: | + | border-style: |
| - | | + | |
| border-btlr: | border-btlr: | ||
| border-width: | border-width: | ||
| Line 91: | Line 89: | ||
| </ | </ | ||
| - | ==== Sizing and Positioning | + | ==== Advanced |
| * Size properties examples <code html> | * Size properties examples <code html> | ||
| height/ | height/ | ||
| min/ | min/ | ||
| line-height: | line-height: | ||
| - | |||
| - | * Position properties <code html> | ||
| - | display: inline/ | ||
| - | float: btlr ; | ||
| - | position: relative(to normal)/ | ||
| - | /fixed(rel to window, doesn' | ||
| - | bottom/ | ||
| - | vertical-align: | ||
| - | |||
| - | * Visibility properties <code html> | ||
| - | visibility: | ||
| - | clear: | ||
| - | clip: rect(10px, 5px, 10px, 5px) | ||
| - | overflow: | ||
| - | z-index: 1 (0 is normal) </ | ||
| - | |||
| - | ==== Advanced CSS ==== | ||
| - | * Pseudo classes can restrict the selector. a:hover and a:active may have to come after a:link and a:visited. <code html> | ||
| - | selector.class: | ||
| - | a:link {color: # | ||
| - | a:visited {color: # | ||
| - | a:hover {color: blue} (mouse-over element) | ||
| - | a:active {color: #0000FF} (selected element) | ||
| - | a:focus {color: #0000FF} (focused element - not in IE) | ||
| - | p: | ||
| - | p > em: | ||
| - | </ | ||