Web-Kit and sub-pixel values, workaround?

前端 未结 3 1273
清歌不尽
清歌不尽 2020-12-21 00:27

I noticed that Web-kit browsers like Chrome and Safari (Windows) tend to round em values to nearest pixel, while Firefox, IE, ? Opera ? can use sub-pixel values. This is nor

3条回答
  •  时光取名叫无心
    2020-12-21 01:06

    I wouldn't suggest em. I'd use px (pixels). Here is an EM to PX converter: http://convert-to.com/446/pixels-px-to-em-conversion.html

    PX is the same across all browsers (as far as I know)

提交回复
热议问题