I have divs with below CSS, when the height is set to auto div disappears (div with class one).
When height is set to some value in px then its visible (div with class two).
.one,
.two {
display: block;
width: 100px;
background-color: rgb(67, 132, 245);
position: fixed;
border: 1px solid #000;
bottom: 20px;
background-image: url("https://www.google.com/images/branding/googlelogo/2x/googlelogo_color_272x92dp.png");
background-size: 40px;
background-position: center;
}
.one {
height: auto;
right: 20px;
}
.two {
height: 100px;
left: 20px;
}
<div class="one">
</div>
<div class="two">
</div>