How can I override the minimum-font-size in Firefo

2019-01-22 21:34发布

My site displays just like in need in IE and Opera, but in Firefox I can't get (via CSS) to have font sizes smaller than Firefox' default minimum-font-size. Of course I can go to Tools>Options and remove this value, but other users will see some of the elements displaced.

I have tried using !important, but it doesn't work. And I can't substitute the text by images, they are dynamic fields.

8条回答
\"骚年 ilove
2楼-- · 2019-01-22 22:41

In some cases you can use <canvas> element and fillText().

查看更多
混吃等死
3楼-- · 2019-01-22 22:41

you can try the following code

body {

min-font-size: 15px!important;

}

查看更多
登录 后发表回答