How to use CSS pseudo-classes :before and :after

Written by kolosek | Published 2020/04/21
Tech Story Tags: css | before | after | frontend | html | css3 | tutorial | beginners

TLDR 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.via the TL;DR App

no story

Written by kolosek | CEO @ Kolosek.com
Published by HackerNoon on 2020/04/21