Pattern:
:target
Definition:
The :target pseudo-class matches the target element. (A target element is an URI refers to a location within the document. It ends with a "number sign" (#) followed by an anchor identifier.).
Examples:
Style an <h2> element that is the target element of the referring URI.
1 | h 2: target { border : 2px dashed burlywood; } |
Please login to continue.