I am not able to view font awosom icon in options. It will display when I select it but not displayed in options.
I have implement code as: HTML
<select id="dropdownview" class="rounded ps-3 pe-2">
<option value="classic" id="classic"> Classic</option>
<option value="compact" id="compact"> Compact</option>
<option value="table" id="Table1"> Table</option>
</select>
CSS
@font-face {
font-family: "FontAwesome";
font-weight: 600;
font-style : normal;
src : url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/fonts/fontawesome-webfont.eot");
src : url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/fonts/fontawesome-webfont.eot") format("embedded-opentype"),
url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/fonts/fontawesome-webfont.woff2") format("woff2"),
url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/fonts/fontawesome-webfont.woff") format("woff"),
url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/fonts/fontawesome-webfont.ttf") format("truetype"),
url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/fonts/fontawesome-webfont.svg") format("svg");
}
#dropdownview {
font-family: FontAwesome;
}