22 lines
710 B
Markdown
22 lines
710 B
Markdown
|
---
|
||
|
title: Font Weight Property
|
||
|
localeTitle: Propiedad de peso de fuente
|
||
|
---
|
||
|
## Propiedad de peso de fuente
|
||
|
|
||
|
El peso de la fuente se puede establecer más alto o más bajo usando la propiedad `font-weight` . Los valores disponibles para `font-weight` de `font-weight` son `normal` , `bold` , `lighter` , `bolder` `bold` y un valor numérico.
|
||
|
|
||
|
```css
|
||
|
font-weight: lighter;
|
||
|
font-weight: bolder;
|
||
|
font-weight: bold;
|
||
|
font-weight: light;
|
||
|
font-weight: 100;
|
||
|
font-weight: 900;
|
||
|
```
|
||
|
|
||
|
Los valores más audaces y en negrita aumentan el peso de la fuente, y la luz y el peso más ligero disminuyen.
|
||
|
|
||
|
#### Más información
|
||
|
|
||
|
[Documentación MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight)
|