The text-indent property in CSS is used to define the indentation of the first line in each block of text. It also take negative values. It means if the value is negative then the first line will be indented to the left.
The text-indent property specifies the indentation of the first line in a text-block.
length − Any length value. Negative lengths are permitted for the property, and will produce a "hanging indent" effect.
percentage − The first line of text is indented by a distance relative to the width of the element's containing block.