Can anyone explain why the background changes when I style the div element?
Here is the code I am using. When I remove the CSS related to the div, the background instantly reverts back to its original state. Any insights would be greatly appreciated. Thank you!
<style>
html {
font-size: 10px;
background: url('./background.jpg') bottom center;
background-size: cover;
}
.keys {
display: flex;
flex: 1;
min-height: 100vh;
align-items: center;
justify-content: center;
}
</style>
</head>
<body>
<div class="keys"></div>
</body>