Seeking assistance with an issue I encountered while trying to create a two-color background. Below is the code snippet:
body, html {
height: 100%;
width: 100%;
background: #0000ff;
background: linear-gradient(180deg, #ff0000 50%, #0000ff 50%);
}
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Title here</title>
<meta http-equiv="X-UA-Compatible" content="IE=edge, chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
</head>
<body>
Content here ... Test 1 2 3 4
</body>
</html>
A screenshot of my local page can be viewed here.
The gradient works well, but there's a thin light red line at the top that shouldn't be there. How can I remove it? I've tried adjusting the color stops and setting it to 0%, but with no luck.
Thank you for any help!