Шрифт
+ font-family: имя шрифта [, имя шрифта[, ...]] | inherit;
Семейства шрифтов: serif - с засечками;
sans-serif – рубленные; cursive – курсивные;
fantasy – декоративные; monospace – моноширинные.
+ font-style: normal | italic | inherit;
+ font-variant: normal | small-caps | inherit;
+ font-weight: bold | bolder | lighter | normal | 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900;
+ font-size: значение | inherit;
+ font: [font-style||font-variant||font-weight] font-size [/line-height] font-family | inherit;
Фон
background-color: цвет | transparent | inherit;
background-image: url('путь к файлу') | none | inherit;
background-repeat: no-repeat | repeat | repeat-x | repeat-y | inherit;
background-attachment: fixed | scroll | inherit;
background-position: [left | center | right | значение] || [top | center | bottom | значение] | inherit;
background: [background-attachment ||
background-color || background-image || background-position || background-repeat] | inherit;
Текст
+ text-indent: значение | inherit;
+ text-align: center | justify | left | right | inherit;
text-decoration: [line-through || overline || underline ] | none | inherit;
+ text-transform: capitalize | lowercase | uppercase | none | inherit;
+ letter-spacing: значение | normal | inherit;
+ word-spacing: значение | normal | inherit;
+ white-space: normal | nowrap | pre | pre-line |
pre-wrap | inherit;
+ color: цвет | inherit;
Отображение и форматирование
+ visibility: visible | hidden | inherit;
clip: rect(Y1, X1, Y2, X2) | auto | inherit;
float: left | right | none | inherit;
clear: none | left | right | both | inherit;
overflow: auto | hidden | scroll | visible | inherit;
vertical-align: baseline|bottom|middle|sub|super|
text-bottom|text-top|top|inherit;
display: block | inline | inline-block | inline-table | list-item | none | run-in | table | table-caption | table-cell | table-column-group | table-column |
table-footer-group | table-header-group | table-row | table-row-group;
Позиционирование
position: static | absolute | relative | fixed | inherit;
left: значение | auto | inherit;
right: значение | auto | inherit;
top: значение | auto | inherit;
bottom: значение | auto | inherit;
z-index: число | auto | inherit;
Таблицы
+ border-collapse: collapse | separate | inherit;
+ border-spacing: значение | inherit;
Размеры
width: значение | auto | inherit;
height: значение | auto | inherit;
min-width: значение | auto | inherit;
min-height: значение | auto | inherit;
max-width: значение | auto | inherit;
max-height: значение | auto | inherit;
Блоки
margin: [значение | auto] {1,4} | inherit;
margin-сторона: значение | auto;
padding: [значение | auto] {1,4} | inherit;
padding-сторона: значение | auto;
border: [border-width || border-style || border-color] | inherit;
border-width: значение {1,4} | inherit;
border-сторона-width: значение | inherit;
border-color: [цвет | transparent] {1,4} | inherit;
border-сторона-color: цвет | transparent | inherit;
border-style: [none | hidden | dotted | dashed | solid | double | groove | ridge | inset | outset] {1,4} | inherit;
border-сторона-style: none | hidden | dotted | dashed | solid | double | groove | ridge | inset | outset | inherit;
Списки
+ list-style-type: circle | disc | square | armenian | decimal | decimal-leading-zero | georgian | lower-alpha | lower-greek | lower-latin | lower-roman |
upper-alpha | upper-latin | upper-roman | none | inherit;
+ list-style-position: inside | outside;
+ list-style-image: none | url('путь к файлу') | inherit;
+ list-style: list-style-type || list-style-position ||
list-style-image | inherit;
Другие
+ cursor: [url('путь к курсору'),] | [ auto | crosshair | default | e-resize | help | move | n-resize | ne-resize | nw-resize | pointer | progress | s-resize | se-resize | sw-resize | text | w-resize | wait | inherit ];
outline-style: none | dotted | dashed | solid | double | groove | ridge | inset | outset | inherit;
outline-color: цвет | inherit;
outline-width: значение | inherit;
Псевдоклассы
:hover :active :link
:visited :focus
Размеры
em ex %
px cm mm
in pt pc
Цвета
#aabbcc #abc rgb(0,25,50)
Условные обозначения:
+ наследуемое свойство;
значение – число и единицы измерения;
сторона – left, right, top или bottom;


