When trying to use my custom CSS alongside Bootstrap, I'm running into some issues. The !important tag doesn't seem to have any effect (I've also heard that using !important is not recommended). Additionally, using IDs instead of classes isn't ideal as the style may need to be applied multiple times.
Is there a way to override Bootstrap styling without relying on IDs?
Here is the HTML with Bootstrap and linked custom CSS:
<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;
}