Font Awesome 5 on pseudo elements shows square instead of icon
If you are using the JS+SVG version read this: Font Awesome 5 shows empty square when using the JS+SVG version You need to add font-weight:900 .myClass { font-size:45px; } .myClass::after { font-family: ‘Font Awesome 5 Free’; content: “\f008″; font-weight: 900; } <link rel=”stylesheet” href=”https://use.fontawesome.com/releases/v5.13.0/css/all.css”> <span class=”myClass”></span> The regular version of the icon, defined by the … Read more