CSS Pseudo-Elements

Pseudo-elements can control the styling of specific parts of the elements. The pseudo-elements have a double colon before them and can be used by being added after the selectors like selector::pseudo-element{…} The pseudo-elements supported by CSS are: ::first-line ::first-letter ::after ::before ::selection ::first-line This is to stylize the first line of the text content. You … Read more