background-gradient-subpixel-fills-area-ref.html (675B)
1 <!DOCTYPE html> 2 <html lang="en-GB" xml:lang="en-GB" xmlns="http://www.w3.org/1999/xhtml"> 3 <head> 4 <title>CSS Background Test Reference</title> 5 <link rel="author" title="schenney" href="mailto:schenney@chromium.org"> 6 <style> 7 ul { 8 width: 396.875px; 9 overflow: auto; 10 padding: 0; 11 list-style: none; 12 background-color: red; 13 } 14 15 li { 16 float: left; 17 } 18 19 div { 20 display: block; 21 width: 376.875px; 22 height: 17px; 23 padding: 20px 10px; 24 background: linear-gradient(to bottom, green 0%, darkgreen 100%) darkgreen; 25 } 26 </style> 27 </head> 28 <body> 29 <ul> 30 <li><div></div></li> 31 </ul> 32 </body> 33 </html>