Is there a way to increase the size of an image using CSS without having to override bootstrap styles? I've tried the code below but it's not working. Can someone help me achieve this task?
#logo {
height: 40px;
}
.navbar-brand>img {
max-height: 100%;
height: 100%;
width: auto;
margin: 0 auto;
-o-object-fit: contain;
object-fit: contain;
}
<a class="navbar-brand">
<img src="assets/images/logo.png" id="logo">
</a>