Having a bit of trouble with my navbar setup. I want to use an image brand with img-fluid so it resizes to fit the div and remains responsive. However, instead of resizing, the image just stretches out the navbar making it huge. Here's my code:
<nav class="navbar navbar-light bg-light">
<a class="navbar-brand" href="#">
<img src="assets/images/urbane-sleek.png" class="img-fluid" alt="">
</a>
</nav>
<div class="row">
<div class="col-md-2 .d-xs-none .d-sm-none">Text...</div>
<div class="col-md-10">Text...</div>
</div>
I've tried setting max-width: 100% and height: auto in the style attribute but it doesn't seem to be working as expected. Any suggestions or solutions? Thanks!