679 B
679 B
title | localeTitle |
---|---|
Text Indent | Guion de texto |
Guion de texto
Esta propiedad CSS crea una sangría de la primera línea en un bloque de texto.
Valores:
La propiedad de text-indent
se puede especificar utilizando %
, px
, em
o unidades de medida, como cm
y in
.
Por ejemplo:
text-indent: 20%;
text-indent: 15px;
text-indent: 5em;
text-indent: 2in;
La propiedad de text-indent
también puede heredar de su elemento padre usando el valor inherit
.
Por ejemplo:
text-indent: inherit;