/* One keyword */
text-fit: none;
text-fit: grow;
text-fit: shrink;
/* Two keywords */
text-fit: grow consistent;
text-fit: shrink per-line-all;
/* Keywords and <percentage> */
text-fit: grow 300%;
text-fit: shrink 80%;
text-fit: grow per-line-all 300%;
/* Global values */
text-fit: inherit;
text-fit: initial;
text-fit: revert;
text-fit: revert-layer;
text-fit: unset;`text-fit` CSS property / notebook
`text-fit` CSS property
Runnable notebook: every JavaScript, HTML and CSS example on this page executes in a sandboxed local frame. Nothing leaves the browser.
text-fit: grow 300%;text-fit: shrink 50%;text-fit: grow per-line-all;text-fit: shrink per-line 50%;