Two questions:

  1. It is necessary to use a different font, using for this font-size. As a result, the letters are always at different levels. What to do to align them?

  2. How to draw a font, if it has to be done differently on one page, for example, if you need to make 5 types of text with different size, color and boldness; Need to do 5 different classes?

alt text

  • @ mr_blond97, If you are given an exhaustive answer, mark it as correct (click on the check mark next to the selected answer). - Nicolas Chabanovsky

1 answer 1

I would do this:

The default text color is black.

Text size is 15px.

body{ color: #000; font-size: 15px; font-family: ...; } 

Classes:

 .color-gray{color:#ccc} .color-blue(color:#00f) .font20{font-size:20px} and .f20{font-size:20px} .font12{font-size:12px} and .f12{font-size:12px} 

For bold text, you can use the strong tag.