我想使用材料设计图标,而不是优质组件默认使用的字体。如果我想移动到不同的图标库,我需要做什么?
发布于 2017-01-31 16:11:28
您需要更改字体系列。
.material-icons, .fa {
font-family: 'Material Icons';
font-weight: normal;
font-style: normal;
font-size: 1.5em;
display: inline-block;
width: 1em;
height: 1em;
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;
font-feature-settings: 'liga';
}事实上,primeng有一个你可以欺骗的物质主题。http://www.primefaces.org/ultima-ng/检查图标在那里,你可以简单地改变它,所有的图标都是这个主题的材料。
https://stackoverflow.com/questions/41903827
复制相似问题