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