translucent-outline.html (646B)
1 <!DOCTYPE html> 2 <title>Outline with translucent color, will-change:transform and negative-z index child</title> 3 <link rel="help" title="7.1. 'outline' property" href="http://www.w3.org/TR/css3-ui/#outline"> 4 <link rel="match" href="translucent-outline-ref.html"> 5 <style>div { will-change: transform; }</style> 6 There should be a square in uniform pale green color. 7 <div style="position: relative; top: 25px; left: 25px; 8 width: 50px; height: 50px; 9 outline: 25px solid rgba(0, 128, 0, 0.5); 10 background: rgba(0, 128, 0, 0.5)"> 11 <div style="position: absolute; width: 10px; height: 10px; z-index: -1"></div> 12 </div>