Waqar Malik Waqar Malik - 2 months ago 6
C# Question

Change the color of the button to green from default grey?

Just a quick question, currently the button is grey with red text displayed inside and I want to make the button Green with white text displayed.

The CSS i am using is

.uploadmorefiles{
color: red;
}


for button:

<div class="col-md-12">
<button type="button" class="uploadmorefiles"><i class="fa fa-plus-square"></i> Click here to upload more file</button>
</div>

Answer

Just use the button type "Success" provided by Bootstrap framework itself.

<button type="button" class="btn btn-success">Success</button>
Comments