How to Update parts of an HTML element with CSS Pseudo elements

Pseudo-elements CSS adding content to page elements with CSS

Pseudo elements can select part of an element and apply styling.  They can also be used to add content before and after the content within the element selection.  Update parts of an HTML element with CSS Pseudo elements