CSS tab-size

Previous Next

Demo of the different values of the tab-size property.

Click the property values below to see the result:

tab-size: 4;
tab-size: 8;
tab-size: 10;
Text	with	tabs	instead	of	spaces.
Text	with	tabs	instead	of	spaces.
Text	with	tabs	instead	of	spaces.

Play more with the code in our Tryit yourself editor: Try it Yourself ❯