Feb 07, 2020 02:01 AM|Yang Shen|LINK
How about if I have 2 or more drop downs? It will be the same Chosen.css but how do I override the properties for the 2nd drop down?
Please notice the class attribute of the controls is just a css style which can be defined in your css files or in your html page directly ( inline css has higher priority), it does not matter what's the name of this css style.
what matters is the code inside the css style, which in your case:
If you have multiple controls share the same class and you just want to change one or some of their html style, copy the original css style to your current page and rename it so it will not affect other controls.
<link href="Content/bootstrap.css" rel="stylesheet" />
<form id="form1" runat="server">
<input type="button" class="btn btn-primary1" value="submit"/>
<input type="button" class="btn btn-primary" value="submit"/>