I'm trying to override the background colour that bootstrap uses for its "bg-dark" class. To do this i've imported in a separate CSS file with this in it:
.bg-dark {
background-color: black;
}
But this doesn't seem to change the background colour. If I do it like this instead though it does work:
.bg-dark {
background-color: black !important;
}
Why is this? And is there anyway of me doing it without having to resort to !important?