缩放时的HTML边框粗细 [英] HTML border thickness on zoom
问题描述
你好,我得到了这个问题,我得到的网站上,100%的缩放看起来很正常,但当我缩放到110%+边界开始行为怪异的方式。在一些边框上,厚度为实际尺寸的2倍,其中一些变形了。
有人知道可能会导致这种情况吗?当我检查那些他们是1px固体不变,但他们呈现像2px的值。
感谢您的帮助。 其因为浏览器,当使用浏览器缩放时,它只会呈现它在选择缩放级别时的样子,因此如果您的1.1px边框的110%具有1px边框。既然你不能只显示像素的一部分,它将显示1px或2px
Hello i got this problem i got website that on 100% zoom looks normal but when i zoom to 110% + borders starts act weird way. On some of the borders thickness is rendered 2x its actual size and some of them are deformed.
Anyone know what could cause this? When i check values on those they are 1px solid unchanged but they are rendered like 2px.
Thank you for your help.
its because of browser, when usinng zoom in browser it will only render how it would look like at choosen zoom level, so if you have 1px border at 110% its 1.1px border. Since you cant show only part of a pixel, it will show either 1px or 2px
这篇关于缩放时的HTML边框粗细的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!