How to use CSS pseudo-classes :before and :after
Too Long; Didn't Read
The CSS :before and after properties are what also known as pseudo elements. They are used to add something before or after the content of an element. They can be extremely helpful when adding icons, clearing floats, and in many other cases. The pseudo elements have a high browser support (over 98%) and we won’t have a headache when using them. There are a lot of great uses for these pseudo elements, and we are here to explore some of them. The examples illustrate just some of the many possible usages.