CSS Typography
Typography is the art and technique of arranging type to make written language legible, readable and appealing when displayed. ... The term typography is also applied to the style, arrangement, and appearance of the letters, numbers, and symbols created by the process.
In essence, typography is the art of arranging letters and text in a way that makes the copy legible, clear, and visually appealing to the reader. Typography involves font style, appearance, and structure, which aims to elicit certain emotions and convey specific messages.
Parameter | Details |
---|---|
font-style | italics or oblique |
font-variant | normal or small-caps |
font-weight | normal, bold or numeric from 100 to 900 |
font-size | The font size given in %, px, em, or any other valid CSS measurement |
line-height | The line height given in %, px, em, or any other valid CSS measurement |
font-family | This is for defining the family's name. |
color | Any valid CSS color representation, like red, #00FF00, hsl(240, 100%, 50%) etc |
text-align | start, end, left, right, center, justify, match-parent |
text-decoration | none, underline, overline, line-through, initial, inherit; |