View RSS feed

CSS Pseudo

Published: Sep 28, 2024Source

Pseudo-class: Implicit CSS classes

A CSS selector for specific states of an element such as :hover, :disabled, or :first-child. It is a pseudo class since the the targeted element does not actually have these classes applied to them.

Reference

Pseudo-element: Implicit DOM nodes

A CSS selector for implicitly added DOM nodes. These are typically relative to an explicitly added DOM node such as ::before and ::first-letter.

Reference