Browsers truncate border values to integers
问题 Whenever a non-integer pixel value is used for the border of an element, the browser simply truncates the value to become an integer. Why is this the case? I'm aware that the border will not actually take up part of a pixel, but these types of values are sometimes used in combination with others to form full pixels. For example, the left and right border having widths of 1.6px should cause the total width of the element to increase by 3px. This works because the full value is stored in memory