title: How to get different background color for different input fields
body: <p>I have multiple input fields, how to apply different background-color for alternate fields.
  Right now same color is applied to each input field.</p>
  <p>Now, Background color for all input field is red, how can I have different color for alternate input fields.</p>
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-css lang-css prettyprint-override"><code>input {
  
    background-color : red; 
  
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;table id = "data"&gt;
  
  &lt;tbody&gt;
  
  &lt;tr&gt;&lt;td&gt;&lt;input type="label" /&gt;&lt;/td&gt;&lt;/tr&gt;
  &lt;tr&gt;&lt;td&gt;&lt;input type="label" /&gt;&lt;/td&gt;&lt;/tr&gt;
  &lt;tr&gt;&lt;td&gt;&lt;input type="label" /&gt;&lt;/td&gt;&lt;/tr&gt;
  &lt;tr&gt;&lt;td&gt;&lt;input type="label" /&gt;&lt;/td&gt;&lt;/tr&gt;
  
  &lt;/tbody&gt;
  
  &lt;/table&gt;</code></pre>
  </div>
  </div>
  </p>