search

Home  >  Q&A  >  body text

css3 - 如何修改mui-icon图标的大小?

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

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

ringa_leeringa_lee2778 days ago1427

reply all(1)I'll reply

  • 高洛峰

    高洛峰2017-04-17 12:01:12

    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.

    reply
    0
  • Cancelreply