Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
First, python has nothing to do with it.
Secondly, you did not show the code, how we will determine what you have accumulated and pasted there and from where.
Thirdly, well, let's say you are told how to change the color to red, the next question will be - 'How to change the color to green?'
Why did you put in python and html tags? Browser styles are defined by the CSS file. The bootstrap site details what the preset colors are. If I understand correctly, this is an alert component, it has 8 colors available and the Alerts - Bootstrap section describes which classes to use for this. Specifically, red is the alert-danger class in bootstrap. If you need your own color, then you need to add your own class. Copy any of the classes, for example the same
.alert-danger {
color: #721c24;
background-color: #f8d7da;
border-color: #f5c6cb;
}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question