propagate-inherit-boolean-ref.html 549 B

123456789101112131415161718192021222324252627282930313233
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
  2. "http://www.w3.org/TR/html4/strict.dtd">
  3. <html lang="en-US">
  4. <head>
  5. <title></title>
  6. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  7. <meta http-equiv="Content-Style-Type" content="text/css">
  8. <style type="text/css">
  9. p {
  10. font-size: 20px;
  11. margin: 0;
  12. height: 0;
  13. width: 100px;
  14. -moz-transform: translateX(80px);
  15. }
  16. p#two {
  17. font-size: 40px;
  18. -moz-transform: translateX(160px);
  19. }
  20. </style>
  21. </head>
  22. <body>
  23. <p id="one">One</p>
  24. <p id="two">Two</p>
  25. </body>
  26. </html>