All technological notes.

Content: The content of the box, where text and images appearPadding: Clears an area around the content. The padding is transparentBorder: A border that goes around the padding and contentMargin: Clears an area outside the border. The margin is transparentTo calculate the full size of an element, you must also add padding, borders and margins.
| Attribute | Description |
|---|---|
width |
the width of element |
min-width |
the minimum width of an element |
max-width |
the maximum width of an element |
height |
the height of element |
min-height |
the minimum height of an element |
max-height |
the maximum height of an element |
Padding
| Attribute | Description |
|---|---|
padding |
generate space around an element’s content |
padding-top |
the top space |
ppadding-right |
the right space |
ppadding-bottom |
the bottom space |
ppadding-left |
the left space |
padding:
values:
Border
| Attribute | Description |
|---|---|
border |
border |
border-top |
top border |
border-right |
right border |
border-bottom |
bottom border |
border-left |
left border |
border-style |
the style of border |
border-top-style |
the style of top border |
border-right-style |
the style of right border |
border-bottom-style |
the style of bottom border |
border-left-style |
the style of left border |
border-width |
the width of borders |
border-top-width |
the width of top border |
border-right-width |
the width of right border |
border-bottom-width |
the width of bottom border |
border-left-width |
the width of left border |
border-color |
the color of borders |
border-top-color |
the color of top border |
border-right-color |
the color of right border |
border-bottom-color |
the color of bottom border |
border-left-color |
the color of left border |
border-radius |
add rounded borders to an element |
border-top-left-radius |
rounded top left borders |
border-top-right-radius |
rounded top right borders |
border-bottom-left-radius |
rounded bottom left borders |
border-bottom-right-radius |
rounded bottom right borders |
border
border-style
values
dotted: a dotted borderdashed: a dashed bordersolid: a solid borderdouble: a double bordergroove: a 3D grooved border. The effect depends on the border-color valueridge: a 3D ridged border. The effect depends on the border-color valueinset: a 3D inset border. The effect depends on the border-color valueoutset: a 3D outset border. The effect depends on the border-color valuenone: no borderhidden: a hidden borderborder-width
border-color
| Attribute | Description |
|---|---|
margin |
the margin of an element |
margin-top |
the top margin of an element |
margin-right |
the right margin of an element |
margin-bottom |
the bottom margin of an element |
margin-left |
the left margin of an element |
margin
4 values: top, right, bottom, left
auto: split equally between the left and right marginsMargin Collapse
| Attribute | Description |
|---|---|
outline |
the margin of an element |
outline-style |
the style of the outline |
outline-width |
the width of the outline |
outline-color |
the color of the outline |
outline-offset |
space between an outline and the edge/border |
outline:
outline-style
dotted:Defines a dotted outlinedashed:Defines a dashed outlinesolid:Defines a solid outlinedouble:Defines a double outlinegroove:Defines a 3D grooved outlineridge:Defines a 3D ridged outlineinset:Defines a 3D inset outlineoutset:Defines a 3D outset outlinenone:Defines no outlinehidden:Defines a hidden outlineoutline-width: