Properties
Properties
Positioning Properties
1. position: Defines the positioning method of an element (static, relative,
absolute, fixed, sticky).
2. top, right, bottom, left: Sets the offset of a positioned element.
3. z-index: Controls the stack order of positioned elements.
Typography Properties
1. font-family: Specifies the font for text.
2. font-size: Sets the size of the text.
3. font-weight: Sets the thickness of the text (normal, bold, bolder, lighter, or
numeric values like 100, 400, 700).
4. font-style: Defines the style of the text (normal, italic, oblique).
5. line-height: Sets the height of a line of text.
6. text-align: Aligns text inside an element (left, right, center, justify).
7. text-decoration: Adds decoration to text (none, underline, overline, line-
through).
8. color: Sets the color of the text.
9. letter-spacing: Adjusts the space between characters.
10.text-transform: Controls the capitalization of text (uppercase, lowercase,
capitalize).
Background Properties
1. background-color: Sets the background color of an element.
2. background-image: Sets an image as the background.
3. background-size: Defines the size of the background image (cover, contain, or
specific values).
4. background-repeat: Controls the repetition of a background image (repeat, no-
repeat, repeat-x, repeat-y).
5. background-position: Sets the starting position of a background image.
6. background-attachment: Determines whether the background image is fixed or scrolls
with the page (scroll, fixed, local).
List Properties
1. list-style: Defines the style of list items (none, disc, circle, square, etc.).
2. list-style-type: Specifies the type of bullet point in a list.
3. list-style-position: Defines the position of the list item markers (inside,
outside).
Visibility Properties
1. visibility: Controls the visibility of an element (visible, hidden).
2. overflow: Specifies how to handle overflow content (visible, hidden, scroll, auto).
3. clip-path: Creates a clipping region that determines which part of an element is visible.