shape-outside-linear-gradient-001-ref.html (886B)
1 <!DOCTYPE html> 2 <html> 3 <head> 4 <title>CSS Reference File</title> 5 <link rel="author" title="Bear Travis" href="mailto:betravis@adobe.com"/> 6 <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> 7 <style type="text/css"> 8 .container { 9 width: 200px; 10 height: 200px; 11 background-color: red; 12 font-family: Ahem; 13 font-size: 50px; 14 line-height: 1; 15 } 16 #test { 17 color: green; 18 } 19 #gradient { 20 float: left; 21 width: 100px; 22 height: 200px; 23 background-color: green; 24 } 25 </style> 26 </head> 27 <body> 28 <p> 29 The test passes if you see a green square. There should be no red. 30 </p> 31 <div id="test" class="container"> 32 <div id="gradient"></div> 33 xx xx xx xx 34 </div> 35 </body> 36 </html>