azimuth | NN 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.
|
||||||||||||||||||||||||||||||||||||||||
Initial Value | ||||||||||||||||||||||||||||||||||||||||
center |
||||||||||||||||||||||||||||||||||||||||
Example | ||||||||||||||||||||||||||||||||||||||||
h1 {azimuth: 45deg} p.aside {azimuth: center-right behind} |
||||||||||||||||||||||||||||||||||||||||
Applies To | ||||||||||||||||||||||||||||||||||||||||
All elements. |