Been trying to figure out how to change the color of my Bootstrap border, without using the generic bootstrap colors (aka
<span class="border border-primary"></span>
so I tried giving my border an id, and styling that id in the .CSS file as border-color: yellow; and color: yellow; to no avail. The code is not working. Although background-color: yellow; works fine just not working the border itself.
Here's my code:
.iconBorder {
border-color: yellow;
}
<link rel="stylesheet" type="text/css" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css">
<span class="border border-primary">Button</span>
<span class="border-bottom p-4 m-2 d-inline-block" style="margin-top: em" id="iconBorder">