CSS pseudo-elements and native ::before/::after

The native ::before and ::before(1) identify the same pseudo-element; likewise for ::after and ::after(1).

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

-