2 Any copyright is dedicated to the Public Domain.
3 http://creativecommons.org/publicdomain/zero/1.0/
8 <title>Color stop positioning for scaled gradients as backgrounds reference
</title>
9 <style type=
"text/css">
12 border: 1px solid black
;
13 width: 600px; height: 300px;
17 width: 400px; height: 300px;
18 /* 250px stop is halfway along 500px diagonal */
19 background-image: linear-gradient
(to bottom right
, lime
0%, teal
250px, black
100%);
24 <div id=
"outer"><div id=
"inner"></div></div>