freeCodeCamp/guide/russian/css/properties/font-weight-property/index.md

22 lines
844 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

---
title: Font Weight Property
localeTitle: Весовое свойство шрифта
---
## Весовое свойство шрифта
Вес шрифта можно установить выше или ниже, используя свойство `font-weight` . Значения, доступные для `font-weight` являются `normal` , `bold` , `lighter` , `bolder` и числовым.
```css
font-weight: lighter;
font-weight: bolder;
font-weight: bold;
font-weight: light;
font-weight: 100;
font-weight: 900;
```
Более смелые и жирные значения увеличивают вес шрифта, а свет и свет уменьшают вес.
#### Больше информации
[Документация MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight)