I don't think that variable will do anything just by declaring it.
You can use:
<nav class="navbar navbar-dark bg-primary"> <nav class="navbar navbar-light" style="background-color: #e3f2fd;">
For your red, maybe you can try:
<nav class="navbar navbar-dark bg-dangar">
You can always add your own class and then add it the navbar
# scss .your-custom-class { background-color: red; } # html <nav class="navbar navbar-dark your-custom-class">
Based on the given documentation here:
getbootstrap.com/docs/4.0/componen...
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
I don't think that variable will do anything just by declaring it.
You can use:
For your red, maybe you can try:
You can always add your own class and then add it the navbar
Based on the given documentation here:
getbootstrap.com/docs/4.0/componen...