I am working on a web project with a parent div and two child divs. I need to apply CSS styles to the second child div when hovering over the first child div. Below is the structure of the render method.
<div className={classes.parent}>
<div className={classes.child1}></div>
<div className={classes.child2}></div>
</div>
Can someone please explain the syntax for selecting child classes on hover using material UI's makeStyles?