9a26185e5866b68291eb763d2a18c61e669584f8.svn-base 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <title>Text shadow tests</title>
  5. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  6. <script type="text/javascript" src="../../test.js"></script>
  7. <style>
  8. .shadow1 span{
  9. text-shadow: 1px 1px 3px #888;
  10. }
  11. .shadow1 strong {
  12. text-shadow: 1px 1px 2px black, 0 0 1em blue, 0 0 0.2em blue;
  13. }
  14. .shadow2 {
  15. font-size: 48px;
  16. }
  17. .shadow2 span{
  18. color: transparent;
  19. text-shadow: 0 0 5px #00f, 2px 2px 0 #f00;
  20. }
  21. .shadow2 strong {
  22. color: rgba(0, 255, 0, 0.5);
  23. text-shadow: 0 0 5px #00f, 2px 2px 0 #f00;
  24. text-decoration: underline;
  25. }
  26. </style>
  27. </head>
  28. <body>
  29. <div class="shadow1">
  30. Some text <span> followed by text with shadow </span> followed by more text without shadow.
  31. <strong>Multi text shadow</strong> and some more text without shadow
  32. </div>
  33. <div class="shadow2">
  34. <span>testing with transparent</span>
  35. <strong>testing with low opacity</strong>
  36. </div>
  37. </body>
  38. </html>