B.123. volume

For use by aural (speaking) browsers for the visually impaired, this property sets the median volume (loudness) of the voice that reads a selected element's content aloud.

Inherited: Yes

See also: Section B.87pitch, Section B.88pitch-range, Section B.92richness, Section B.105stress, Section B.122voice-family

B.123.1. Value

An absolute volume between 0 and 100 (inclusive), a percentage of the inherited volume, or one of the following constants:

  • silent: no sound at all

  • x-soft: the lowest perceptible volume, the same as 0

  • soft: equivalent to 25

  • medium: equivalent to 50

  • loud: equivalent to 75

  • x-loud: the maximum comfortable volume, the same as 100

Initial value: medium

B.123.2. Compatibility

CSS Version: 2

Not supported by any currently-available browser.

B.123.3. Example

This example causes aural browsers to speak elements of class ominous in a soft voice:

.ominous {
  volume: soft;
}

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.144.202.167