css3 - 如何修改mui-icon图标的大小?
ringa_lee
ringa_lee 2017-04-17 11:59:12
0
1
1437

做了个webapp,用的是mui的组件,改变页面大小发现mui-icon图标大小不改变,请问怎么修改它的大小用rem表示呢?

谢谢大家,原来图标的格式就是字体,所以只要设置font-size就可以了~~

ringa_lee
ringa_lee

ringa_lee

reply all(1)
小葫芦

If is not a sprite image , set the width and height of the image container according to the proportion of the icon on the page, the unit is rem, and then set position-size:100%;
can be obtained by the above method The pictures are not very good-looking. It is recommended to use media query to adapt images of different sizes.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template