decioferreira/elm-zen-css/1.0.0

CSS.PseudoElements

A CSS pseudo-element is a keyword added to a selector that lets you style a specific part of the selected element(s).

Ref.: https://developer.mozilla.org/en-US/docs/Web/CSS/Pseudo-elements

Pseudo-elements

custom : String -> List Property -> Class -> Class
before : List Property -> Class -> Class

In CSS, ::before creates a pseudo-element that is the first child of the selected element.

after : List Property -> Class -> Class

In CSS, ::after creates a pseudo-element that is the last child of the selected element.