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 -

reflection - How to access the object-members of an object declaration in kotlin -

php - Doctrine Query Builder Error on Join: [Syntax Error] line 0, col 87: Error: Expected Literal, got 'JOIN' -