Tab size

Syntax

Class
Properties
tab-{value}
tab-size: {value};

Parameters

value
<uint32>

Number of characters.

value
<length unsigned>
<textarea class="t1 w-256 h-14em p-16 bg-c-white shadow-4 font-mono tab-2">- foo - bar - baz - bazooka - bamboo - labana - tofu</textarea>

Specification test cases

The test cases below are imported from the Turbo CSS specification. They have been executed upon loading this page.
Tab size as number
t1 tab-4
.t1.tab-4 { tab-size: 4; }
Tab size as length
t1 tab-20px
.t1.tab-20px { tab-size: 20px; }