A pseudo-element targets a part of an element or creates one, with two colons: ::before and ::after insert decorative content via the content property, ::first-line and ::first-letter style the start of the text, ::placeholder styles that of fields.
Example
h2::before { content: '# '; color: #888; }