Home  >  Article  >  Web Front-end  >  CSS Azimuth Property

CSS Azimuth Property

PHPz
PHPzforward
2023-09-05 14:13:02601browse

CSS 方位角 属性

The azimuth property sets the horizontal direction of the sound. Possible values ​​are listed below:

  • angle - Position in degrees -360deg范围内的角度来描述> to 360 degrees. A value of 0deg means directly in front of the center of the sound field. 90 degrees is to the right, 180 degrees is to the rear, and 270 degrees (or, equivalently and more conveniently, -90 degrees) is to the left.
  • Left side − Same as "270deg". For "back", "270deg".
  • Far Left - Same as "300deg". For "back", "240deg".
  • Left - Same as "320deg". For "back", "220deg".
  • Center Left - Same as "340deg". For "back", "200deg".
  • center - Same as "0deg". For "back", "180deg".
  • Center Right - Same as "20deg". For "back", "160deg".
  • Right - Same as "40deg". For "back", "140deg".
  • Far Right - Same as "60deg". For "back", "120 degrees".
  • Right side - Same as "90 degrees". 'behind', '90deg'.
  • Left - Moves the sound left and relative to the current angle. To be more precise, minus 20 degrees.
  • Right - Moves the sound to the right relative to the current angle. To be more precise, add 20 degrees.

Example

Let’s see an example -

<style>
   <!--
      h1 { azimuth: 30deg }
      td.a { azimuth: far-right } /* 60deg */
      #12 { azimuth: behind far-right } /* 120deg */
      p.comment { azimuth: behind } /* 180deg */
   -->
</style>

The above is the detailed content of CSS Azimuth Property. For more information, please follow other related articles on the PHP Chinese website!

Statement:
This article is reproduced at:tutorialspoint.com. If there is any infringement, please contact admin@php.cn delete
Previous article:CSS flex-flow propertyNext article:CSS flex-flow property