title: CSS3 background opacity with background image
body: <p>I am attempting to have an opacity effect on my div which has a background-image applied, and still keep the text "un-opacified".
  My markup:</p>
  
  <pre><code>&lt;div id="projects" class="feature"&gt;
      Projects
  &lt;/div&gt;
  </code></pre>
  
  <p>My CSS:</p>
  
  <pre><code>.feature {
      display: inline-block;
      margin: 30px;
      cursor: pointer;
      width: 300px;
      height: 300px;
      -webkit-border-radius: 150px;
      -moz-border-radius: 150px;
      border-radius: 150px;
      font-family: 'Droid Sans', Helvetica Neue, sans-serif;
      font-size: 2em;
      color: #fff;
      text-align: center;
      line-height: 1.2em;
  }
  
  .feature:after {
      /* Fallback for web browsers that don't support RGBa */
      background-color: rgb(0, 0, 0);
      /* RGBa with 0.6 opacity */
      background-color: rgba(0, 0, 0, 0.8);
      /* For IE 8*/
      -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#99000000, endColorstr=#99000000)";
  }
  
  .feature#projects {
      background-image: url('img/hero.png');
  }
  </code></pre>
  
  <p>I thought of using pseudo elements, but to no avail!</p>
  
  <p>Any ideas?</p>