<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
md-icon{
font-family: 'Material Icons' !important;
}
mat-icon {
opacity: 50%;
padding-right: 0.5em;
}
mat-icon {
opacity: 0.5;
padding-right: 0.5em;
}
ng add @angular/material
会自动添加这个 CSS。 - divine