I'm currently facing an issue with trying to add a logo to my navbar and resize it using the img-responsive class in Bootstrap. However, the image is not resizing as expected, and I want to avoid manually changing its size.
/*
#logo-image {
height: 50px;
}
*/
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous">
<nav class="navbar navbar-expand-md navbar-dark bg-steel fixed-top" style="background-color: #bc001d">
<div class="container">
<a class="navbar-brand" href="/">
<img id="logo-image" class="img-responsive" alt="Logo" src="https://dummyimage.com/200x200" /></a>
</div>
</nav>