I'm using Font Awesome through a kit and it's not working when I use it as a pseudo-element in CSS
<link rel="stylesheet" href="style.css">
<script src="https://kit.fontawesome.com/af3b78fe80.js" crossorigin="anonymous"></script>
This is the HTML code block where class toggle is declared. The div is empty <div class="toggle"> </div>
The CSS for .toogle:
.toggle{
position: relative;
width: 60px;
height: 60px;
background-color: #da7f8f;
cursor: pointer;
}
.toggle ::before{
content: '\f0c9';
font-family:"Font Awesome 5 Free";
position: absolute ;
width: 100%;
height: 100%;
line-height: 60px;
font-size: 24px;
font-weight: 900;
color: black;
}