Pseudo-classes :is() and :where()
Pseudo-class :is() The :is() pseudo-class is used to shorten long selectors. The :is() pseudo -class...
Style Cascading
When one style is applied to a certain element, everything is relatively simple. However, if several...
Style Inheritance
To simplify the definition of styles in CSS, the mechanism of style inheritance is used. This mechan...
Attribute selectors
In addition to element selectors, we can also use their attribute selectors. For example, we have se...
Pseudo elements In CSS3
Pseudo-elements have a number of additional features for selecting elements of a web page and are si...
Form Pseudo-Classes
A number of pseudo-classes are used to work with form elements: :enabled : selects the element if it...
Pseudo-classes of child elements
A special group of pseudo-classes is formed by pseudo-classes that allow you to select certain child...
Pseudo-classes in CSS3
In addition to tag, class, and ID selectors, pseudo-class selectors are available to us, which provi...
Sibling element selectors
The sibling or adjacent element selectors allow you to select elements that are at the same nesting ...
Child selectors
Child selectors differ from descendant selectors in that they allow only elements of the first level...