blob: c739a2a71d2dbbc0088df45caac3a679d3d5ab37 [file] [log] [blame]
<!DOCTYPE html>
<title>Linear gradient with a two position color stop</title>
<link rel="help" href="https://drafts.csswg.org/css-images-4/#color-stop-syntax">
<meta name="assert" content="A color stop with two positions create a hard transition">
<link rel="match" href="reference/100x100-blue-green.html">
<style>
#target {
width: 100px;
height: 100px;
background-color: red;
background-image: linear-gradient(to right, blue 0% 50%, green 50%);
}
</style>
<div id="target"></div>