Creating multiple pseudo-elements

Multiple pseudo-elements can be created with the ::before(ordinal) and ::after(ordinal) notation, where 'ordinal' is a positive integer.

The demo works correctly if both the 'control' and 'pseudo-elements' sections look exactly the same. Take a look at the source code.

Control

123 - ABC

Pseudo-elements

-