Google Font size 10.5 px (.5) the correct way and multibrowser support

后端 未结 3 966
不思量自难忘°
不思量自难忘° 2021-01-16 19:52

I am using Google font Open Sans and if I set the font to font-size 11px it looks big for the text I need and if I set it to 10px it looks small so I tested just for fun and

3条回答
  •  抹茶落季
    2021-01-16 20:21

    Use percentage instead, you won't get the same size on different displays/browsers, but you should get more control over the size of your text.

    e.g: font-size: 98%;

    This article may help.

提交回复
热议问题