blob: 8eadf432717ea394cbf430176d529e832be30043 [file] [log] [blame]
<style>
body {
background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 10 10"><g fill="#ccc"><rect width="5" height="5"/><rect x="5" y="5" width="5" height="5"/></g></svg>');
background-size: 100px 100px;
}
.box {
display: inline-block;
width: 80px;
height: 80px;
}
</style>
<p>These two rows should be identical</p>
<div class="box" style="background: linear-gradient(red, blue);"></div>
<!-- <div class="box" style="background: linear-gradient(red, rgba(0, 0, 255, 0.5));"></div> -->
<div class="box" style="background: linear-gradient(red, blue, green, cyan);"></div>
<div class="box" style="background: linear-gradient(to bottom right, red, blue);"></div>
<div class="box" style="background: linear-gradient(to bottom left, rgba(255, 0, 0, 0.6), rgba(0, 0, 255, 0.6));"></div>
<br>
<div class="box" style="background: linear-gradient(red, blue);"></div>
<!-- <div class="box" style="background: linear-gradient(red, rgba(0, 0, 255, 0.5));"></div> -->
<div class="box" style="background: linear-gradient(red, blue, green, cyan);"></div>
<div class="box" style="background: linear-gradient(to bottom right, red, blue);"></div>
<div class="box" style="background: linear-gradient(to bottom left, rgba(255, 0, 0, 0.6), rgba(0, 0, 255, 0.6));"></div>
<br>
<p>These two rows should be identical</p>
<div class="box" style="background: radial-gradient(green, yellow);"></div>
<!-- <div class="box" style="background: radial-gradient(orange, rgba(0, 0, 255, 0.5));"></div> -->
<div class="box" style="background: radial-gradient(red, blue, green, cyan);"></div>
<!-- <div class="box" style="background: radial-gradient(circle at top right, orange, purple);"></div> -->
<br>
<div class="box" style="background: radial-gradient(green, yellow);"></div>
<!-- <div class="box" style="background: radial-gradient(orange, rgba(0, 0, 255, 0.5));"></div> -->
<div class="box" style="background: radial-gradient(red, blue, green, cyan);"></div>
<!-- <div class="box" style="background: radial-gradient(circle at top right, orange, purple);"></div> -->