elter pseudo elements use a wrapper format.
This avoids code redundancy and supports simple and intuitive coding.
Write & string selector and compile
You can write the selector as a wrapper by starting the string expression with &.
The string following & can be anything. And that it is follows the class name.
Pseudo-classes that require arguments, such as has, not, lang, and nth-child, are written using &.
Property selectors
The following pseudo-classes and pseudo-elements can be used as wrapper selectors.
Pseudo hover example
Other pseudo-classes and pseudo-elements, such as before and after, can also be treated as wrappers in the same way.