My website displays a background image in both Safari and Firefox, but for some reason Google Chrome is not showing it. I am unsure why this is happening. Do you have any insights on what I might need to adjust?
renderer = new THREE.CanvasRenderer();
renderer.setClearColor( 0x000000, 0 );
renderer.setPixelRatio( window.devicePixelRatio );
renderer.setSize( SCREEN_WIDTH, SCREEN_HEIGHT );
Here is the CSS code being used:
body {
background-image: url('beautiful.jpg');
-moz-background-size: cover;
-webkit-background-size: cover;
background-size: cover;
background-position: top center;
background-repeat: no-repeat;
background-attachment: fixed;
margin: 0px;
overflow: hidden;
}
The background image functions perfectly in Safari and Firefox, but there seems to be an issue with Google Chrome. Any suggestions or ideas would be greatly appreciated.
Thank you so much!