CSS Target Property

CSS 1

CSS 2

CSS 3

No No Yes

Description

The 'target' property is a shorthand property for setting the individual target properties (i.e., 'target-name', 'target-new' and 'target-position') at the same place in the style sheet.

Syntax

target: [value1] [value2] [value3]

Possible values

  • [target-name]
  • [target-new]
  • [target-position]

Initial Value

see individual properties

Applies To

Hyperlinks

Inherited

No

Media

Interactive Visual

Example

.class {
  target: new tab front;
}


View All CSS Properties