Why is the background image not appearing as a full image on large screens but fitting fine on small screens?
<!DOCTYPE html>
<html dir="ltr">
<head>
<meta charset="utf-8" dir="ltr" />
<title></title>
<style>
body, html {
height: 100%;
margin: 0;
}
.bgImage {
/* The image used */
background: url(../../../Content/imgs/common/myimage.png) no-repeat center ;
height: 100%;
background-size: cover;
}
</style>
</head>
<body>
<div class="bgImage">
</div>
</body>
</html>
Is there a specific dimension that needs to be set for the image to work responsively on all screen sizes?