I have a problem when I try to override the primary twitter bootstrap buttons (v 2.0.3) with my own colors and works fine in IE, but not in FireFox or Chrome. Therefore, on my page, I first refer to bootstrap.css, and then immediately after that I refer to my own stylesheet, which has its own changes. Now my classes are called the same as bootstrap, but I would think mine would take precedence, since my stylesheet is related to bootstrap:
<link href="~/Content/bootstrap.css" rel="stylesheet" type="text/css" />
<link href="~/Content/mystyles.css" rel="stylesheet" type="text/css" />
... so in mystyles.css I have the following (which again, as in bootstrap.css, but I have different colors):
.btn-primary {
background-color:
*background-color:
background-repeat: repeat-x !important;
border-color:
border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25) !important;
background-image: linear-gradient(top,
}
.btn-primary:hover,
.btn-primary:active,
.btn-primary.active,
.btn-primary.disabled,
.btn-primary[disabled] {
background-color:
*background-color:
}
.btn-primary:active,
.btn-primary.active {
background-color:
}
! , - , , , ( ). , .... , IE , ( - ), , , - , , .
!!