文章内容

2020/6/4 17:18:15,作 者: 黄兵

Material icon outline

Material icons提供了丰富的图标库,在Angular中可以很容易使用Material。

Material icons提供了Filled和Outline样式的图片,默认使用的是Filled样式的图片,但是如果需要转换成Outline样式的图标,应该怎么做呢?

you can use outline one as below ex:

<mat-icon>info_outline</mat-icon>

Filled one and default one:

<mat-icon>info</mat-icon>

参考资料:

1、mat-icon: How to switch between filled, outlined, rounded and two-toned icons?

分享到:

发表评论

评论列表