This means a pseudo-element selector. This means that the element on the right does not exist in the regular DOM, but can be selected.
The pseudo-element consists of two colons (: :), followed by the name of the pseudo-element.
Source
Initially, it was only one colon, but was modified to distinguish it from pseudo classes (for example :hover :first-child :not , etc.). It is better to use : for before and after pseudo-elements, since a single colon has better browser support, namely in earlier versions of IE.
alex May 23 '13 at 1:05 a.m. 2013-05-23 01:05
source share