The correct answer upstairs is that font-awesome is not just css, font-awesome requires several corresponding font libraries. You can take a look at the source file downloaded from fontAsesome. Or you can directly use the css source file of font-Asesome.
It has been verified that it can be displayed. FontAwesome font requires font files. I guess it is caused by not referencing font files. Download the compressed package from github, unzip it locally, and copy the entire fonts file to the corresponding directory. It should be fine. question.
Check if there is a 404 in the console. Fontawesome requires the corresponding font file, not just css.
Make sure the corresponding path file exists
The correct answer upstairs is that font-awesome is not just css, font-awesome requires several corresponding font libraries.
You can take a look at the source file downloaded from fontAsesome.
Or you can directly use the css source file of font-Asesome.
Stop using font awesome, icon font is much better
It has been verified that it can be displayed. FontAwesome font requires font files. I guess it is caused by not referencing font files. Download the compressed package from github, unzip it locally, and copy the entire fonts file to the corresponding directory. It should be fine. question.
Just like this