Skip to content
Related Articles

Related Articles

CSS azimuth Property
  • Last Updated : 05 Nov, 2020

The azimuth property tells the position of a sound producer (source) over the horizontal axis of the listener’s environment. The values or possible arguments are: angle, left, right, center.

Syntax:

HTML

filter_none

edit
close

play_arrow

link
brightness_4
code

<style type="text/css">
    html tag {
        azimuth: 70deg;
    }
  
    html tag {
        azimuth: behind left;
    }
</style>
  
<!--This part should be written
    in head tag -->

chevron_right


Code Implementation:

HTML

filter_none

edit
close

play_arrow

link
brightness_4
code

<!DOCTYPE html>
<html>
  
<head>
    <!-- h1 and h3 with azimuth property  -->
    <style type="text/css">
        h1 {
            azimuth: 70deg;
        }
  
        h3 {
            azimuth: behind left;
        }
    </style>
</head>
  
<body>
  
    <h1>geeks for geeks portal</h1>
    <h3>computer science</h3>
  
    <!-- Defining h1 and h3 tages with content -->
</body>
  
</html>

chevron_right


Output:



HTML

filter_none

edit
close

play_arrow

link
brightness_4
code

<!DOCTYPE html>
<html>
  
<head>
    <!-- Defining azimuth property with 
        azimuth by 180 degrees -->
    <style type="text/css">
        p {
            azimuth: 180deg;
        }
    </style>
</head>
  
<body>
  
      
<p>Computer php and java
      
<p>
        <!-- paragraph tag -->
    </p>
  
</body>
  
</html>

chevron_right


Output:

 

 

full-stack-img

My Personal Notes arrow_drop_up
Recommended Articles
Page :