summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-images/linear-gradient-ref.html
blob: 033f1767799d718f072b48b6a99a4eaf7070f90e (plain)
1
2
3
4
5
6
7
8
9
10
<!doctype html>
<meta charset="utf-8">
<style>
  #gradient {
    width: 400px;
    height: 300px;
    background-image: linear-gradient(to right, black 0%, red 50%, gold 100%);
  }
</style>
<div id="gradient"></div>