How to set min-font-size in CSS
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I want to set a minimum font size to every element in my HTML page. For example if there are elements with font-size less then 12px, then they will change to 12px. But if there are elements with font-size grater then 12px, they will not change. Is there any way to do it with CSS? 回答1: No. While you can set a base font size on body using the font-size property, anything after that that specifies a smaller size will override the base rule for that element. In order to do what you are looking to do you will need to use Javascript. You could