propagate-inherit-boolean.html 511 B

1234567891011121314151617181920212223242526272829303132
  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(4em);
  15. }
  16. p#two {
  17. font-size: 40px;
  18. }
  19. </style>
  20. </head>
  21. <body>
  22. <p id="one">One</p>
  23. <p id="two">Two</p>
  24. </body>
  25. </html>