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

CSS Azimuth Property

PHPz
Release: 2023-09-05 14:13:02
forward
699 people have browsed it

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>
Copy after login

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

source:tutorialspoint.com
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template