Name
text-indent
Synopsis
Used to define the indentation of the first line of content in a block-level element. This is most often used to create a “tab” effect. Negative values are permitted and cause “outdent” (or “hanging indent”) effects.
Values:
<length> | <percentage> | inherit
Initial value:
0
Applies to:
block-level elements
Inherited:
yes
Percentages:
refer to the width of the containg block
Computed value:
for percentage values, as specified; for length values, the absolute length
Get Cascading Style Sheets: The Definitive Guide, Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.