Logo Logo Logo Logo Logo
  • Work Overview
  • Code Snippets Central
  • About
  • Contact
  • Work Overview
  • Code Snippets Central
  • About
  • Contact
Back to all articles →

Topic: CSS / Fonts and Icons

10 Feb Add icon before an element with CSS

Posted at 13:01h in CSS, Fonts and Icons by Atkinson

Font Awesome Free Icons and Cheatsheet https://fontawesome.com/icons?d=gallery&m=free

 .your-item-class::before {
    font-family: "Font Awesome 5 Free"; 
    font-weight: 900; 
    content: "\f007";
  }



Facebook • Instagram • Dribbble • Twitter • LinkedIn
Copyright © Janet Atkinson 2023. All Rights Reserved.
Images and/or Artwork may not redistributed, reproduced, or republished without prior written permission.


For fine art painting and other personal work by Janet Atkinson please visit janetatkinsonstudio.com