How to do CSS on hover targeting styles of a selector with two element names -


i know can change style of selector on hover of selector, doesn't work when selector need change uses 2 element names this:

doesn't work. anyway make work css?

.menu-btn:hover .menu-btn span  {     /*styles*/ } 

works

.menu-btn:hover span  {      /*styles*/ } 

.menu-btn:hover span, .menu-btn span  { /*styles*/ 

}


Comments

Popular posts from this blog

Is there a better way to structure post methods in Class Based Views -

performance - Why is XCHG reg, reg a 3 micro-op instruction on modern Intel architectures? -

jquery - Responsive Navbar with Sub Navbar -