Answer the question
In order to leave comments, you need to log in
Why does the Button text color take black from the Bootstrap sources, and not white as in the documentation?
Good day to all. I'm using Bootstrap by downloading the source and compiling to a single css. In the Bootstrap documentation, in the "buttons" tabs, the Button of any color with white text is initially, but for some reason I have black. At the same time, I do not reassign the color of the text anywhere, I reassign, only the colors "primary" and "secondary". I thought maybe I reassigned it to the source somewhere, but I downloaded a new version of bootstrap, but the color is still black.
Answer the question
In order to leave comments, you need to log in
Because Bootstrap itself calculates the required text color based on the background color of the button.
Try making "primary" and "secondary" darker
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question