Coding With Fun
Home Docker Django Node.js Articles Python pip guide FAQ Policy

CSS3 target-position property


May 06, 2021 CSS Reference Manual


Table of contents


Open hyperlinks in a new window and place a new window before all other tabs/windows:

a
{
target-name:new;
target-position:front;
}

Browser support

There is currently no browser that supports target-position.

Definitions and usages

The target-position property specifies where to place the new destination link.

Note: The target-position property is only valid if the target-name property creates a new tab or window.

Default: above
Inheritance: no
Version: CSS3
JavaScript syntax: object .style.targetPosition="front"

Grammar

target-position: above|behind|front|back;
Value Describe
above Place a new destination tab/window before the current tab/window.
behind Place a new destination tab/window after the current tab/window.
front Place a new destination tab/window before all other tabs/windows.
back Place a new destination tab/window after all other tabs/windows.