My custom CSS stylesheet are not working when I use Bootstrap. !important tag doesn't work (I also heard !important is not a good practice) and Using ID instead of Class is not a good idea as style will be used multiple times.
Is there a way to override Bootstrap without using ID?
HTML with bootstrap and custom css linked
<header>
<nav class="navbar navbar-expand-md navbar-dark navbar-custom">
<a class="navbar-brand" href="index.html">Jake Yoon</a>
</nav>
</header>
custom css
.navbar-custom {
background-color: lightsteelblue;
font-size: 25px;
color: white;
}