mirror of
https://github.com/servo/servo.git
synced 2025-06-23 16:44:33 +01:00
23 lines
No EOL
583 B
HTML
23 lines
No EOL
583 B
HTML
<!doctype html>
|
|
<html>
|
|
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<title>Linear gradient with all inferred positions</title>
|
|
<link rel="help" href="https://drafts.csswg.org/css-images-3/#radial-color-stops">
|
|
<meta name="assert" content="Calculation of implicit gradient stops.">
|
|
<link rel="match" href="linear-gradient-ref.html">
|
|
<style>
|
|
#gradient {
|
|
width: 400px;
|
|
height: 300px;
|
|
background-image: linear-gradient(to right, black, red, gold);
|
|
}
|
|
</style>
|
|
</head>
|
|
|
|
<body>
|
|
<div id="gradient"></div>
|
|
</body>
|
|
|
|
</html> |