I have the following CSS code for my React component:
Page.css:
.container{ background-color: red; width: 100vw; height: 100vh; } Page.jsx"
import './landingPage.css' function LandingPage() { return ( asd ) } export default LandingPage For this very basic code I am getting a margin whenever I resize my browser screen as follows:

I was expecting the whole of my viewport to be red. How can I achieve that?
Источник: https://stackoverflow.com/questions/780 ... e-viewport