Viewport-unit font-size and zooming bug: which browsers are affected?

前端 未结 1 1473
眼角桃花
眼角桃花 2021-01-22 11:01

It seems that desktop IE10 doesn\'t correctly scale text that has its font size set in viewport units, when the zoom level is not set to 100%. I\'m trying to find out which IE v

1条回答
  •  谎友^
    谎友^ (楼主)
    2021-01-22 11:34

    This is a simple workaround: the font sizes are set in percentages, and a resize-triggered script sets the body font size according to the body width.
    However, I'd still like to know which browsers and versions I need to enable this workaround for. Please try out the example in the question, and report your platform, browser, version, and the observed behaviour when resizing and zooming the window.

    
    
    
    
    
    
    
    
    
    

    font-size: 32px

    font-size: 200%

    0 讨论(0)
提交回复
热议问题