Here are some of the most commonly used CSS properties that control the colour, typeface, size of text, and more:
CSS | Name | Description |
---|---|---|
font-family | Font Typeface | Defines the typeface of an element. |
font-size | Font Size | Controls the size of the text displayed. |
font-weight | Font Weight | Defines how thin or thick the text displayed is. |
text-align | Text Alignment | Places text in the left, right, or center of its parent container. |
color | Font Colour | Defines the color of the text. |
background-color | Background Text Colour | Defines the color behind the text. |
opacity | Opacity | Can make an element transparent using a value from 0 (transparent) to 1 (opaque). |