Get Combo of two classes at same tag by Css.



<div class="treeview-menu menu-open"  >  User Menu </div>


Issue: To get the combination of two classes "treeview-menu " and  "menu-open" , we have to call like this:

Solution:

div .treeview-menu.menu-open{
 background-color:#f00;
 color:#000
}


Notice: There is no single space between both classes.

Comments

Popular posts from this blog

How to set custom Post feature image as og:image ?

datatable with both top and bottom scroll bar.