79276651

Date: 2024-12-12 21:31:43
Score: 1
Natty:
Report link

I finally figured out what happened. The math when you do different containers may come out to not be a whole number. As an example, if the height of the container becomes 767.5, then chrome somehow cannot get both right. Thus, by doing a height that will come out to be a whole number, then the line will disappear.

I design based on 1366 x 768 and 1920 x 1080. When I do 95vh, the math comes out to 729.6. However, chrome calculates it to 729.59 for some reason. By making it 87.5VH, it becomes 672px and 945px, respectively. Line disappears.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Cee Lee