Materializecss icons not working?
You can perform the following steps to render the icon -
add this link in your html page -
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
open the browser and you will see that icon has rendered. but we dont want the icon to be rendered using googleapis.
open the console and go to the src of google apis and open the css file, and copy the whole css and add the css into a css file or materialize.min.css.
you will see the font url in the css that you just copied, open that url in the browser and the file of woff2 format will be downloaded.
now just copy the file into the font folder and change the src of the font in the css file to point to this file.
- remove the link that you included in step -1 .
refresh the page, you will see that icon has rendered.
Thanks
you have to include the icons with this link:
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
place this somewhere in your head and it will work!