I have a generic form in my code that styles all my buttons uniformly:
input[type="button"],put[type="button"]:active,input[type="button"]:hover {
width: 172px;
height: 37px;
line-height: 2 !important;
margin: 11px 0px 0px 0px;
padding: 5px 150px 9px 5px;
line-height: 19px;
font-size: 12px;
}
However, some buttons in the system are smaller in width compared to the generic buttons. Even though they are still of type button and inherit the above CSS properties, I want to specifically adjust their width without using !important. I want the modified buttons to look similar to this:
.thirdButton, .thirdButton:active {
width: 28px;
padding: 0;
background-position-x: 50%;
}