|
,
|
| Margin: auto/
| .
| Margin-bottom, margin-left, margin-right, margin-top
| / / / .
| : auto - .
(px). , .
| :
margin:10px 5px 15px 20px;
margin:10px 5px 15px;
margin:10px 5px;
margin:10px;
| - , ,
| Padding: []
| .
| Padding-bottom, padding-left, padding-right, padding-top
| / / / ( ) .
| :
padding:10px 5px 15px 20px;
padding:10px 5px 15px;
padding:10px 5px;
padding:10px;
| - , ,
| ()
|
| background
|
| Background-color: color / transparent
| . Transparent
| Background-image: url(' ')
| .
| background-repeat
| , .
| No-repeat - ; Repeat - ;
Repeat-x- . Repeat-y - .
|
|
| Borderborder-width border-style border-color
| .
| border-style - , : solid, dotted, dashed, double, groove, ridge, inset, outset, hidden none. hidden none , , .
border-width -
Border-color -
| Border-radius: (px)
| .
|
- ,
|
| Height: / % / auto
| .
| Width: / % / auto
| .
|
,
|
| Bottom: auto/
| .
| Top: auto /
| .
| Left: auto /
| .
| right: auto /
| .
| auto - . - (px).
| Clear: none / left / right / both
| .
| Left - . Right - .
Both - . None - .
| display: [];
| , .
| none - .
Bloc - , , .
| Float: none / left / right
| ( )
| left - . Right - .
None - , .
| position: static / absolute / fixed / relative
| .
| Static: - , . .
Absolute: - - .
Fixed: - , , .
Relative: - left,top, right bottom .
| Visibility: visible / hidden / collapse
| , , , , .
| visible - , .
Hidden - , .
Collapse - . , . .
| Overflow: auto / hidden / scroll / visible
| , .
| Visible -³ , .
Hidden -³ , .
Scroll - .
Auto -
| box-sizing: content-box / border-box / padding-box
| .
(width), (margin), (padding) (border). .
box-sizing , width height , .
| Content-box - width height (margin), (border).
Border-box - width height , (margin).
Padding-box - width height , (margin) (border).
|
ҳ
|
| box-shadow: x y
box-shadow: 0 0 10px yellow;
| .
| opacity: < 0 1>;
opacity: 0.5; /* */
| .
| Text-shadow: x y ;
text-shadow: 1px 1px 2px black;
| .
|
|
| list-style
| .
| list-style-image: url(' -')
| .
| list-style-type
| : circle / disc / square;
: decimal (1,2,3...)/ decimal-leading-zero(01,02,03... / lower-alpha (a, b, c, d,...)/ lower-greek (α, β, γ, δ,...)/ lower-roman (i, ii, iii, iv, v,...). / upper-alpha (A, B, C, D,...)./ upper-roman (I, II, III, IV, V,...)./ none ( )
|
|
| Color: < >
| .
| Direction: ltr / rtl
| .
Ltr - . Rtl
| letter-spacing: <> / normal
| .
| Line-height: <> / % / normal
| ().
| Text-align: center / justify / left / right
| .
| Text-decoration: line-through / overline / underline
| .
Line-through . Overline . Underline .
| Text-indent: <> / <>
| .
| text-transform: capitalize / lowercase / uppercase / none
| .
Capitalize .
Lowercase - ( ).
Uppercase - ( ).
None - .
| Word-spacing: <> / normal
| .
| Word-wrap: normal / break-word
| .
Normal - , ( <br>).
Break-word - , .
| Font-family: <>
| .
serif , Times New Roman;
sans-serif , Arial;
cursive ;
fantasy ;
monospace , Courier.
| Font-size: (pt)
| .
| font-weight: bold / bolder / lighter / normal / 100 /
200 / 300 / 400 / 500 / 600 / 700 / 800 / 900
| .
bold - ,
normal - . 100 900.
bolder lighter , , .
| :
: 2017-03-18; !; : 520 | :
:
, . ==> ... 1798 - | 1678 -
© 2015-2024 lektsii.org - - |