CSS - 方位角



描述

方位角 屬性描述了聲源在聆聽者環境水平軸線上的位置。

可能的值

  • 角度
  • 左側
  • 最左側
  • 左中
  • 中心
  • 右中
  • 最右側
  • 右側
  • 最右側
  • 中心後

方位角值應如下所示

azimuth

應用於

所有 HTML 元素。

DOM 語法

object.style.azimuth = "Any value defined above";

示例

<html>
   <head>
      <style type = "text/css">
         h1 { azimuth: 70deg; }
         h3 { azimuth: behind left; }
         p { azimuth: left; }
      </style>
   </head>

   <body>
   
      <h1>This is header1 content</h1>
      <h3>This is header3 content</h3>
      <p>This is my paragraph content.</p>
      
   </body>
</html> 

它將產生以下結果:

廣告

© . All rights reserved.