Иконочный Google шрифт
Иконочный Google шрифт - да-да он есть и можно использовать кучу иконок бесплатно
1. Всего то навсего нужно подключить шрифт:
Вид шрифтов 1
<link href="https://fonts.googleapis.com/css2?family=Material+Icons" rel="stylesheet">
или вид второй:
<link href="https://fonts.googleapis.com/icon?family=Material+Icons+Outlined" rel="stylesheet">
2. В стили вставляем:
.material-icons {
font-family: 'Material Icons';
font-weight: normal;
font-style: normal;
font-size: 24px; /* Preferred icon size */
display: inline-block;
line-height: 1;
text-transform: none;
letter-spacing: normal;
word-wrap: normal;
white-space: nowrap;
direction: ltr;
-webkit-font-smoothing: antialiased;
text-rendering: optimizeLegibility;
-moz-osx-font-smoothing: grayscale;
}
Или второй вид
.material-icons-outlined {
font-family: 'Material Icons Outlined';
font-weight: normal;
...
3. Вставляем иконку в html;
<span class="material-icons">face</span>
или второй вид:
<span class="material-icons-outlined">drag_indicator</span>
4. Далее переходим на страницу - https://fonts.google.com/icons кликаем на иконку и справа получаем нужный код.
Инструкция к Гугл иконочному шрифту - смотреть