Setting up Font Awesome icons as pseudo-elements

Kevin Powell on YouTubeWatch on YouTube

SaveMark complete

Sign in to save videos and track what you’ve finished.

IntermediateUI17 min

About this video

A CSS tutorial showing how to add Font Awesome icons to a card using pseudo-elements instead of empty elements, and compares several approaches. It is aimed at developers who already write HTML and CSS.

What you’ll learn

  • Insert Font Awesome icons with CSS pseudo-elements
  • Compare different ways to position decorative icons
  • Keep decorative icons out of the HTML markup