各种分辨率的分数值不同-CSS -Google Chrome
我使用的是1920 x 1080分辨率,分辨率为100%,而我的Div渲染的高度和宽度如下, 您的参考图像
高度 15.625 和宽度将为 16.469
在采用新机器3840 x 2160分辨率(其中200%)(与1920 x 1080分辨率(100%)相同)时,但这里的高度可能为 15.631 ,而宽度将为 16.477
Chrome是否根据分辨率决定分数部分?如果是这样,在我的情况下,两者都是相同的决议。 Firefox没有
提前感谢
I'm using 1920 X 1080 resolution with 100% and the height and width of my div renders as below,
Image for your reference
height 15.625 and width will be 16.469
While am taking a new machine 3840 X 2160 resolution with 200% (which some what equivalent with 1920 X 1080 resolution with 100%) but here the height might be 15.631 and width will be 16.477
Whether chrome decides the fractional part based on resolution ? if so both are same resolutions at my case.
No issues with Firefox
Thanks in advance
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论