วัสดุ - ไอคอนอุปกรณ์
บทนี้ให้คุณใช้งานไอคอนอุปกรณ์ (วัสดุ) ของ Google สมมติว่าcustom คือชื่อคลาส CSS ที่เรากำหนดขนาดและสีตามที่แสดงด้านล่าง
<!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>
ตารางต่อไปนี้แสดงการใช้งานและผลลัพธ์ของไอคอนอุปกรณ์ (วัสดุ) ของ Google
การใช้งาน | ผลลัพธ์ |
---|---|
<i class = "material-icons custom"> access_alarm </i> | access_alarm |
<i class = "material-icons custom"> access_alarms </i> | access_alarms |
<i class = "material-icons custom"> access_time </i> | access_time |
<i class = "material-icons custom"> add_alarm </i> | add_alarm |
<i class = "material-icons custom"> airplanemode_active </i> | airplanemode_active |
<i class = "material-icons custom"> airplanemode_inactive </i> | airplanemode_inactive |
<i class = "material-icons custom"> battery_alert </i> | battery_alert |
<i class = "material-icons custom"> battery_charging_full </i> | battery_charging_full |
<i class = "material-icons custom"> battery_full </i> | battery_full |
<i class = "material-icons custom"> battery_std </i> | battery_std |
<i class = "material-icons custom"> battery_unknown </i> | battery_unknown |
<i class = "material-icons custom"> บลูทู ธ </i> | บลูทู ธ |
<i class = "material-icons custom"> bluetooth_connected </i> | bluetooth_connected |
<i class = "material-icons custom"> bluetooth_disabled </i> | Bluetooth_disabled |
<i class = "material-icons custom"> bluetooth_searching </i> | bluetooth_searching |
<i class = "material-icons custom"> ความสว่าง _auto </i> | bright_auto |
<i class = "material-icons custom"> ความสว่างสูง </i> | ความสว่างสูง |
<i class = "material-icons custom"> bright_low </i> | bright_low |
<i class = "material-icons custom"> bright_medium </i> | bright_medium |
<i class = "material-icons custom"> data_usage </i> | data_usage |
<i class = "material-icons custom"> developer_mode </i> | โหมดนักพัฒนา |
<i class = "material-icons custom"> อุปกรณ์ </i> | อุปกรณ์ |
<i class = "material-icons custom"> dvr </i> | dvr |
<i class = "material-icons custom"> gps_fixed </i> | gps_fixed |
<i class = "material-icons custom"> gps_not_fixed </i> | gps_not_fixed |
<i class = "material-icons custom"> gps_off </i> | gps_off |
<i class = "material-icons custom"> graphic_eq </i> | graphic_eq |
<i class = "material-icons custom"> location_disabled </i> | location_disabled |
<i class = "material-icons custom"> location_searching </i> | location_searching |
<i class = "material-icons custom"> network_cell </i> | network_cell |
<i class = "material-icons custom"> network_wifi </i> | network_wifi |
<i class = "material-icons custom"> screen_lock_landscape </i> | screen_lock_landscape |
<i class = "material-icons custom"> screen_lock_portrait </i> | screen_lock_portrait |
<i class = "material-icons custom"> screen_lock_rotation </i> | screen_lock_rotation |
<i class = "material-icons custom"> screen_rotation </i> | screen_rotation |
<i class = "material-icons custom"> sd_storage </i> | sd_storage |
<i class = "material-icons custom"> settings_system_daydream </i> | settings_system_daydream |
<i class = "material-icons custom"> signal_cellular_4_bar </i> | signal_cellular_4_bar |
<i class = "material-icons custom"> wifi_tethering </i> | wifi_tethering |
<i class = "material-icons custom"> signal_cellular_no_sim </i> | signal_cellular_no_sim |
<i class = "material-icons custom"> signal_cellular_null </i> | signal_cellular_null |
<i class = "material-icons custom"> signal_cellular_off </i> | signal_cellular_off |
<i class = "material-icons custom"> signal_wifi_4_bar </i> | signal_wifi_4_bar |
<i class = "material-icons custom"> signal_wifi_4_bar_lock </i> | signal_wifi_4_bar_lock |
<i class = "material-icons custom"> signal_wifi_off </i> | signal_wifi_off |
<i class = "material-icons custom"> ที่เก็บข้อมูล </i> | การจัดเก็บ |
<i class = "material-icons custom"> usb </i> | ยูเอสบี |
<i class = "material-icons custom"> วอลเปเปอร์ </i> | วอลล์เปเปอร์ |
<i class = "material-icons custom"> วิดเจ็ต </i> | วิดเจ็ต |
<i class = "material-icons custom"> wifi_lock </i> | wifi_lock |
<i class = "material-icons custom"> signal_cellular_connected_no_internet_4_bar </i> | signal_cellular_connected_no_internet_4_bar |