Tag: CSS pseudo-classes
:link
:link– pseudo-class | CSS Level 1 The :link selects links that have not been visited. This selector targets <a> elements with href attribute, even if href attribute is empty. Syntax :link { color: blue; } The :link pseudo-class selects only <a> elements and only with href attribute. So :link styles have no effects in following […]
:only-of-type
:only-of-type – pseudo-class | Selectors Level 3 The :only-of-type matches element that is only child of its parent element of given type.
:only-child
:only-child – pseudo-class | Selectors Level 3 The :only-child selects element that is the only child of its parent.