CSS target-position Property

If this site has been useful, we’d love your support! Running this site takes time and resources, and every small contribution helps us keep creating valuable content. Consider buying us a coffee to keep things going strong!

Description

The target-position property indicates where a new destination (if any) is created.

The target-position property has been deprecated or is no longer in any CSS working groups.

Initial value
above
Applies to
Hyperlinks
Inherited
No
Computed value
Specified value
Animatable
No
JavaScript syntax
object.style.targetPosition

Syntax

target-position: above | behind | front | back

Values

  • aboveThe new destination tab (window) is placed above the current tab (window) respectively.
  • behindThe new destination tab (window) is placed behind the current tab (window) respectively.
  • frontThe new destination tab (window) is placed above all other tabs (windows) respectively.
  • backThe new destination tab (window) is placed behind all other tabs (windows) respectively.

Example

.class {
   target-position: front; 
}

Browser Support

The following table will show you the current browser support for the CSS target-position property.

Desktop
Edge Chrome Firefox Opera Safari
?????
Tablets / Mobile
Chrome Firefox Opera Safari Samsung Webview
??????