Material - Dateisymbole
In diesem Kapitel wird die Verwendung der Google-Symbole für (Material-) Dateien erläutert. Annehmen, dasscustom ist der CSS-Klassenname, in dem wir die Größe und Farbe definiert haben, wie im folgenden Beispiel gezeigt.
<!DOCTYPE html>
<html>
<head>
<link href = "https://fonts.googleapis.com/icon?family=Material+Icons" rel = "stylesheet">
<style>
i.custom {font-size: 2em; color: green;}
</style>
</head>
<body>
<i class = "material-icons custom">accessibility</i>
</body>
</html>
Die folgende Tabelle enthält die Verwendung und die Ergebnisse der Google-Symbole (Material). Ersetzen Sie das <body> -Tag des obigen Programms durch den in der Tabelle angegebenen Code, um die entsprechenden Ausgaben zu erhalten -
Verwendung | Ergebnis |
---|---|
<i class = "material-icons custom"> Anhang </ i> | Anhang |
<i class = "material-icons custom"> cloud </ i> | Wolke |
<i class = "material-icons custom"> cloud_circle </ i> | cloud_circle |
<i class = "material-icons custom"> cloud_done </ i> | cloud_done |
<i class = "material-icons custom"> cloud_download </ i> | cloud_download |
<i class = "material-icons custom"> cloud_off </ i> | cloud_off |
<i class = "material-icons custom"> cloud_queue </ i> | cloud_queue |
<i class = "material-icons custom"> cloud_upload </ i> | cloud_upload |
<i class = "material-icons custom"> file_download </ i> | Datei download |
<i class = "material-icons custom"> file_upload </ i> | Datei-Upload |
<i class = "material-icons custom"> Ordner </ i> | Mappe |
<i class = "material-icons custom"> folder_open </ i> | folder_open |
<i class = "material-icons custom"> folder_shared </ i> | folder_shared |