B.33. elevation

elevation sets the angle to the horizontal, from which the sound comes when the content is presented aurally (e.g. in a speaking browser for the blind).

Inherited: Yes

See also: Section B.1azimuth

B.33.1. Value

An angle (-90deg to 90deg, where 90deg is directly above the listener, -90deg is directly below, and 0deg is at the listener's ear level), or a descriptive constant (e.g. above)

Initial value: level

B.33.2. Compatibility

CSS Version: 2

Not yet supported by any browser.

B.33.3. Example

This style rule will cause all elements of class commandment to be heard from 80 degrees above the horizontal:

.commandment {
  elevation: 80deg;
}

Get HTML Utopia: Designing Without Tables Using CSS now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.