CSS presentation-level Property

Description

The presentation-level property sets the element's presentation level (EPL).

Initial value
0
Applies to
All elements
Inherited
Yes
Media
All
Computed value
Integer
Animatable
No
CSS Version
CSS3
JavaScript syntax
object.style.presentationLevel

Syntax

presentation-level: <integer> | same | increment

Values

  • <integer>An integer value sets the presentation level explicitly.
  • sameComputes to the same value as the previous element's (in document order) presentation level.
  • incrementComputes to a value one more than the previous (in document order) element's presentation level.

Example

.class {
    presentation-level: increment; 
}

Browser Support

Desktop
Explorer Edge Chrome Firefox Opera Safari
??????
Tablets / Mobile
Android Chrome Firefox Opera Safari Samsung
??????