CodePen

HTML

            
              <p style="background-color:rgba(255,0,0,0.5);">
  <span style="color:white; filter:alpha(opacity=100); opacity:1;">
    Hello world
  </span>
</p>
            
          
!

CSS

            
              
            
          
!

JavaScript

            
              
            
          
!
999px
Loading ..................