Looking to add a purple line across the top of my website without using an image. I've opted for the border-top
property on the body element. However, when resizing the browser window, the purple line only remains in the viewport area, resulting in a white space when scrolling right. Check out this fiddle to see the issue firsthand. I've attempted setting width: 100%
on both the body and container, but haven't had any success. Any suggestions on how to achieve this?
Appreciate the help.