title: Change select box option background color
body: <p>I have a select box and I'm trying to change the background color of the options when the select box has been clicked and shows all the options.</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>body {
    background: url(http://subtlepatterns.com/patterns/black_linen_v2.png) repeat;
  }
  
  select {
    margin: 40px;
    background: rgba(0, 0, 0, 0.3);
    color: #fff;
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.4);
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;select&gt;
    &lt;option val=""&gt;Please choose&lt;/option&gt;
    &lt;option val="1"&gt;Option 1&lt;/option&gt;
    &lt;option val="2"&gt;Option 2&lt;/option&gt;
    &lt;option val="3"&gt;Option 3&lt;/option&gt;
    &lt;option val="4"&gt;Option 4&lt;/option&gt;
  &lt;/select&gt;</code></pre>
  </div>
  </div>
  </p>