Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

<!doctype html>
<meta charset=utf-8>
<title>Linear gradient with a two position color stops</title>
<meta name="assert" content="Color stops with two positions are equivalent to two color stops with the same color">
<link rel=match href=/css/css-images/multiple-position-color-stop-linear-2-ref.html>
<body>
<div style="background: linear-gradient(to bottom, red 0% 25%, blue 25% 75%, red 75% 100%); width: 100px; height: 100px;"><br></div>
</body>