584 B
584 B
title | localeTitle |
---|---|
Text Indent | 文字缩进 |
文字缩进
此CSS属性在文本块中创建第一行的缩进。
价值观:
可以使用%
, px
, em
或测量单位(如cm
和in
指定text-indent
属性。
例如:
text-indent: 20%;
text-indent: 15px;
text-indent: 5em;
text-indent: 2in;
text-indent
属性也可以使用inherit
值从其父元素inherit
。
例如:
text-indent: inherit;