Home » Tutorials rest property Tutorials Author admin Reading 1 min Views 379 Published by April 22, 2012 Modified by October 18, 2024 Contents Definition and UsageSyntaxValuesExamplesDefinition and Usage The ‘rest‘ property is a shorthand for ‘rest-before‘ and ‘rest-after‘. If two values are given, the first value is ‘rest-before‘ and the second is ‘rest-after‘. If only one value is given, it applies to both properties. Name: rest Value: <‘rest-before‘> <‘rest-after‘>? Initial: N/A (see individual properties) Applies to: all elements Inherited: no Percentages: N/A Media: speech Computed value: N/A (see individual properties) Syntax rest: <'rest-before'> <'rest-after'>? Values Refer to rest-before and rest-after. Examples 1 .class { 2 rest: weak medium ; 3 }