azimuthNN n/a IE n/a CSS 2

Inherited: Yes

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

 
CSS Syntax
 
azimuth: angle | angleConstant || direction
 
Value

Up to two values (other than inherit). One represents the angle, clockwise from straight ahead; the second is a 20-degree incremental movement to the left or right. An angle value is any value in the range of -360 to +360 (inclusive) plus the letters "deg", as in 90deg. The value 0deg is directly in front of the listener. To set the angle to the left of the listener, the value can be either -90deg or 270deg. Optionally, you can choose an angleConstant value from a large library of descriptions that correspond to fixed points around the circle. If you add the behind modifier, the values shift from in front of the listener to behind the listener.

For the direction value, you can choose from two constants: leftwards | rightwards. These settings shift the sound 20 degrees in the named direction.

ValueEqualsValueEquals
center0degcenter behind180deg
center-right20degcenter-right behind160deg
right40degright behind140deg
far-right60degfar-right behind120deg
right-side90degright-side behind90deg
left-side270degleft-side behind270deg
far-left300degfar-left behind240deg
left320degleft behind220deg
center-left340degcenter-left behind200deg
 
Initial Value

center

 
Example
 
h1 {azimuth: 45deg}
p.aside {azimuth: center-right behind}
 
Applies To

All elements.