材质-社会图标 


材质-社会图标


本章介绍了Google(材料)社交图标的用法。假设custom是我们定义大小和颜色的CSS类名称,如下面的示例所示。

<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
        
      <style>
         i.custom {font-size: 2em; color: green;}
      </style>
        
   
    
   
      <i class="material-icons custom">accessibility</i>
   
    

下表包含Google(社交)社交图标的用法和结果。用表中给出的代码替换上面程序的<body>标签,以获取相应的输出-

Usage Result
<i class=”material-icons custom”>cake</i> cake
<i class=”material-icons custom”>domain</i> domain
<i class=”material-icons custom”>group</i> group
<i class=”material-icons custom”>group_add</i> group_add
<i class=”material-icons custom”>location_city</i> location_city
<i class=”material-icons custom”>mood</i> mood
<i class=”material-icons custom”>mood_bad</i> mood_bad
<i class=”material-icons custom”>notifications</i> notifications
<i class=”material-icons custom”>notifications_active</i> notifications_active
<i class=”material-icons custom”>notifications_none</i> notifications_none
<i class=”material-icons custom”>notifications_off</i> notifications_off
<i class=”material-icons custom”>notifications_paused</i> notifications_paused
<i class=”material-icons custom”>pages</i> pages
<i class=”material-icons custom”>party_mode</i> party_mode
<i class=”material-icons custom”>people</i> people
<i class=”material-icons custom”>people_outline</i> people_outline
<i class=”material-icons custom”>person</i> person
<i class=”material-icons custom”>person_add</i> person_add
<i class=”material-icons custom”>person_outline</i> person_outline
<i class=”material-icons custom”>plus_one</i> plus_one
<i class=”material-icons custom”>poll</i> poll
<i class=”material-icons custom”>public</i> public
<i class=”material-icons custom”>school</i> school
<i class=”material-icons custom”>share</i> share
<i class=”material-icons custom”>whatshot</i> whatshot
0



error: 内容受到保护 !!