I have a reactjs/webpack app and trying to set a background image for the body tag:
body{
background: url("../images/some-background.jpg");
background-size:contain;
background-position:top;
background: cover;
}
However after loading the components the body style is not present in the page. It shows up in the console though. Is there a way to display a background image in the main page whilst having the CSS rule in the CSS file that is loaded by webpack? Is this because Reactjs does something I am not aware of?