Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How change the bootstrap buttons?

In bootstrap.css changed the color of the button btn-primary in different states, but somehow able to hover, it stands only half. Where is it possible to fix? Thank you.

like image 669
Leito Avatar asked Dec 04 '22 09:12

Leito


1 Answers

In the bootstrap.css, you able to change the color of button in the class btn-primary in different states. Let's see the following code:

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-primary.active {
  color: #ffffff;
  background-color: #3276b1;
  border-color: #285e8e;
}

So. you can change the color, background-color, and etc as you wish.

like image 82
lvarayut Avatar answered Jan 28 '23 20:01

lvarayut