css - Show another div while li hover -


i have 2 divs first 1 has full of menu li elements , second 1 has submenu. when hover menu li should show next div css

li:hover{   //display submenu } 

fiddle here

https://jsfiddle.net/yv6pyk7a/

.seconddiv:hover {     display:block;   } .seconddiv > li:hover {     background: #aaa;     cursor: pointer; } 

just check one. hope solve problem.


Comments

Popular posts from this blog

python - pip install -U PySide error -

arrays - C++ error: a brace-enclosed initializer is not allowed here before ‘{’ token -

cytoscape.js - How to add nodes to Dagre layout with Cytoscape -