0

是否有可用的链接,我可以从中获取每个谷歌材料图标的内容值,就像我们为字体真棒图标提供的那样:http: //astronautweb.co/snippet/font-awesome/

4

1 回答 1

3

Here you can find the content(search by name of icon): https://github.com/Angelmmiguel/material_icons/blob/master/app/assets/stylesheets/material_icons_unicode.css.erb#L85-L3265

And also here:https://github.com/google/material-design-icons/blob/master/iconfont/codepoints

from Icon-Material:
enter image description here
Search in link that I attach:

enter image description here

Using:

div:before { 
font-family: "Material Icons";
content: '\e8f9';
}
<link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons">
<div></div>

于 2018-06-07T06:58:04.313 回答