title: css: target a class which is inside a same class
body: <p>I am currently working on a Wordpress project. It has a 3 level menu. </p>
  
  <p><code>.submenu</code> has to be hidden until its on the same page. Now I have to hide <code>.submenu</code>, which is inside submeu.</p>
  
  <p>How do I target this?</p>
  
  <p>I have to target <code>#mainmenu &gt; . submenu  &gt; .submenu</code></p>