CSS elevation Property

The elevation property sets where the sound should come from vertically. The possible values are as follows −

  • angle − Specifies the elevation as an angle, between -90deg and 90deg. 0deg means on the forward horizon, which loosely means level with the listener. 90deg means directly overhead and -90deg means directly below.
  • below − Same as '-90deg'.
  • level − Same as '0deg'.
  • above − Same as '90deg'.
  • higher − Adds 10 degrees to the current elevation.
  • lower − Subtracts 10 degrees from the current elevation.

You can try to run the following code to implement CSS elevation property −

Updated on: 2020-03-16T08:11:24+05:30

1K+ Views

Kickstart Your Career

Get certified by completing the course

Get Started
Advertisements