CSS elevation Property

CSSWeb DevelopmentFront End Technology

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 −

      h1 { elevation: above }
      tr.a { elevation: 60deg }
      tr.b { elevation: 30deg }
      tr.c { elevation: level }
Published on 30-Apr-2018 07:08:34