我在哪里可以获得谷歌材料图标的内容属性值

时间:2018-06-07 06:34:00

标签: css material-design font-awesome google-material-icons

是否有可用的链接,我可以获取每个Google素材图标的内容值,因为我们有字体真棒图标:http://astronautweb.co/snippet/font-awesome/

1 个答案:

答案 0 :(得分:1)

您可以在此处找到content(按图标名称搜索) https://github.com/Angelmmiguel/material_icons/blob/master/app/assets/stylesheets/material_icons_unicode.css.erb#L85-L3265

也在这里: https://github.com/google/material-design-icons/blob/master/iconfont/codepoints

来自Icon-Material的


enter image description here
搜索我附上的链接:

enter image description here

是:



div:before { 
font-family: "Material Icons";
content: '\e8f9';
}

<link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons">
<div></div>
&#13;
&#13;
&#13;