body { font-size: 100.01%; } vs body { font-size: 100%; }?

后端 未结 3 1072
遇见更好的自我
遇见更好的自我 2021-02-02 15:18

What should i keep for body, {font-size: 100.01%; } or { font-size: 100%; }?

what is {font-size: 100.01%; }? and is i

3条回答
  •  孤独总比滥情好
    2021-02-02 15:56

    Never seen 100.01% before, but it seems like some sort of browser hack that will force some browsers to ignore or calculate size correct if you use this "fix".

    I wouldn't use it myself though, as errors tends to be fixed and there are often more nice ways of dealing with the same option.

提交回复
热议问题