CSS · Properties — CSS Text

tab-size

The CSS tab-size property. Initial value: 8. Inherited.

Syntax
tab-size: <integer> | <length>

Example

Try it

Notes

Media: visual. Applies to: blockContainers. Computed value: specifiedIntegerOrAbsoluteLength.

More in this group

hanging-punctuation hyphenate-character hyphenate-limit-chars hyphens line-break text-align-last text-autospace text-fit

Learn this in the course

Reference pages are the quick answer. The course explains the why, shows the full example and ends with a challenge.

Open the course