gradient-html-05-ref.html 470 B

123456789101112131415161718
  1. <!--
  2. Any copyright is dedicated to the Public Domain.
  3. http://creativecommons.org/licenses/publicdomain/
  4. -->
  5. <!DOCTYPE html>
  6. <html>
  7. <head>
  8. <style>
  9. .unit { display:inline-block; width:100px; height:1px; background:blue; }
  10. </style>
  11. </head>
  12. <body style="margin:0; width:300px; line-height:100px;">
  13. <span class="unit"></span><span class="unit"
  14. ></span><span class="unit"></span><span style="background:lime"><span class="unit"
  15. ></span></span>
  16. </body>
  17. </html>