elevationNN n/a IE n/a CSS 2

Inherited: Yes

Given a listener at the center of a three-dimensional sound space (like in a surround-sound-equipped theater), elevation sets the vertical angle of the source of the sound (for example, in a text-to-speech browser). See also the azimuth attribute.

 
CSS Syntax
 
elevation: angle | angleConstant
 
Value

Your choice of a specific angle (in degrees) or one of the five constant values. An angle value is any value in the range of -90 to +90 (inclusive) plus the letters "deg", as in 90deg. The value 0deg is at the same vertical level as the listener's ear. To set the angle above level, the value must be a positive value (45deg); below level requires a negative value (-45deg). Optionally, you can choose an angleConstant value from a library of descriptions that correspond to fixed points above and below level.

In combination with the azimuth attribute, you can place a sound at any point around a spherical surround-sound stage.

ValueEquals
above90deg (directly overhead)
below-90deg (directly beneath)
higher+10 degrees from current
level0deg (at listener's ear level)
lower-10 degrees from current
 
Initial Value

level

 
Example
 
h1 {elevation: -45deg}
p.heavenly {elevation: above}
 
Applies To

All elements.