title: Apply css style to child element
body: <p>Here is an sample example</p>
  
  <pre><code>&lt;html&gt;
  &lt;head&gt;
      &lt;style&gt;
          .test &gt; input {     //this is wrong.
              color:red;
          }
      &lt;/style&gt;
  &lt;/head&gt;
  
  &lt;body&gt;
      &lt;div class="test"&gt;
          &lt;div&gt;
              &lt;input&gt;&lt;/input&gt;
          &lt;/div&gt;
      &lt;/div&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>What I want to do is apply a style to input element. How to select a input element. with the help of div's css style name.</p>