The height of the border changes the size of the pixel when zoomed

The height of the border around an element on my page changes its height when zoomed in on a page. The border is defined as 1px. I see a resize problem in Chrome and IE, but not in Firefox. What is the source of this problem? The corresponding css is below.

Resize issue displayed in Chrome

.highlightHeader{
    border-bottom-color: rgb(184, 34, 46);
    border-bottom-style: solid;
    border-bottom-width: 1px;
    border-top-color: rgb(184, 34, 46);
    border-top-style: solid;
    border-top-width: 1px;
}
+4
source share
1 answer

/ ( Ctrl +/Ctrl-) HTML. , , /, , , .

, , , . , , . , -/.

, , , :

" . , . , . , . , ?


/, , , / . (. ), , . () , .

+4

Source: https://habr.com/ru/post/1678204/


All Articles