Fandom

HTML & CSS Wiki

Elevation

649pages on
this wiki
Add New Page
Comments0 Share

The CSS elevation property may also be used in certain HTML elements. In an optimal listening environment, the soundstage is considered to be parallel to the floor, with origin point at the listeners head. This property specifies the vertical angle off of the soundstage plane giving up/down angle references as a location for a referenced element. Zero degree references are forward on the soundstage plane, with positive angular values being upward, and negative values being downward. This property only describes the desired end-user effect and does not specify how it is produced.


Values

  • inherit - Explicitly sets the value of this property to that of the parent.
  • below - Same as -90deg.
  • level - Same as 0deg.
  • above - Same as 90deg.
  • lower - Subtracts 10 degrees from the current absolute or inherited elevation.
  • higher - Adds 10 degrees to the current absolute or inherited elevation.
  • <angle> - Specifies an angle, between -90deg and 90deg. 0deg references straight ahead/forward on the soundstage plane (level with the listener.) 90deg is directly overhead while -90deg is directly below.


HTML example:

<p style="elevation:45deg;">High elevation.</p>


CSS example:

p {
   elevation:45deg;
}

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.