CSS voice-stress
The CSS voice-stress property is used in speech media to adjust the strength of stress emphasis.
The voice-stress property works by applying a combination of pitch change, timing changes, loudness changes, and other adjustments which can be used to increase or decrease the strength of stress emphasis.
Stress emphasis can have different meanings in different languages, so the actual meaning of the values used will depend on the language being used.
Syntax
Possible Values
normal- Specifies that the default emphasis should be used.
none- Prevents any emphasis on text that would normally be emphasized.
moderate- Specifies that moderate emphasis should be used. This is more emphasis than would normally be produced (i.e. it's more emphasis than when using the
normalkeyword). strong- Specifies that strong emphasis should be used. This is more emphasis than
moderatewould produce. reduced- Specifies that any emphasis should be reduced (i.e. not as much emphasis as would normally be applied).
In addition, all CSS properties also accept the following CSS-wide keyword values as the sole component of their property value:
initial- Represents the value specified as the property's initial value.
inherit- Represents the computed value of the property on the element's parent.
unset- This value acts as either
inheritorinitial, depending on whether the property is inherited or not. In other words, it sets all properties to their parent value if they are inheritable or to their initial value if not inheritable.
General Information
- Initial Value
normal- Applies To
- All elements.
- Inherited?
- Yes
- Media
- Speech
Example Code
Official Specifications
Browser Support
Browser support for CSS properties can vary, particularly for newer or experimental features. Check current browser compatibility before using a property in production, especially when supporting older browsers.
Initial Value
CSS properties have an initial value that applies when the property has not been explicitly set. The initial value is different from the value inherited from a parent element and may vary between properties.
Inheritance
Some CSS properties inherit their computed value from their parent element by default, while others do not. The inherit, initial, unset, and revert keywords can also be used to control how a property gets its value.
Vendor Prefixes
Most modern CSS properties use the standard, unprefixed syntax. Vendor-prefixed properties such as -webkit- are mainly relevant to older browser versions or specific features and should only be used when required by your browser support targets.