Click here to Skip to main content
15,889,651 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
I have my site registration page and there is a different color in a submit button but i want to change this color. how can i change the button color....?

there is a code of button field


<div class="form-group col-xs-10 col-sm-1 col-md-1 col-lg-1"></div>
        <div class="clearfix"></div>

    
        <div class="clearfix"></div>
        
        
        <div class="form-group col-xs-10 col-sm-1 col-md-1 col-lg-1"></div>
         <div class="form-group col-xs-10 col-sm-5 col-md-5 col-lg-5">
           <input class="buttom" name="submit" tabindex="5" value="I Agree - Submit" type="submit">
        </div>



can any tell me how can i make a change in submit button color...?

What I have tried:

we have used bootstrap css but currently do not how to proceed ahed..?
Posted
Updated 6-Nov-18 5:13am

Find the CSS class that gives the button its color and override it. Or simply put new class onto the button.

I'm guessing your CSS framework has some default color for button[type='submit']
 
Share this answer
 
Quote:
we have used bootstrap css but currently do not how to proceed ahed..?

If only Bootstrap had a comprehensive set of documentation.

Oh, wait - it does: Buttons · Bootstrap[^]

<input class="btn btn-primary" ...
 
Share this answer
 
if you want the code to use custom CSS, here another example

cp_bootstrap_btn - JSFiddle[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900