Lets say there is
.myButtonClass{
/*#style;*/
}
Now i have new
<div id="myid">
One way is i can have
<div id="myid" class="myButtonClass">
What if in my CSS i want to assign this class to div
div.myid{
/* assign existing class */
.myButtonClass
}
How to do this?
Live Demo
Hi now used to both
IDorClassin Css if you applyIDorClassin a DivAs like this
HTML
More information about Multiple
ClassoridClick hereLIve Demo