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

datatable with both top and bottom scroll bar.

Display Loader and disable page while waiting for ajax request

Invalid bean property or is not readable to loading Jsp page