position_01_normal_flow.rml 705 B

1234567891011121314151617181920212223242526272829
  1. <rml>
  2. <head>
  3. <title>CSS Position: Normal flow</title>
  4. <link type="text/rcss" href="../style.rcss"/>
  5. <link rel="source" href="https://drafts.csswg.org/css-position-3/#comparison" />
  6. <link rel="help" href="https://drafts.csswg.org/css-position-3/#comparison" />
  7. <meta name="description" content="Position demo" />
  8. <style>
  9. body {
  10. font-size: 20dp;
  11. display: block;
  12. background: #ddd;
  13. color: #444;
  14. line-height: 200%;
  15. }
  16. #outer { color: red }
  17. #inner { color: blue }
  18. </style>
  19. </head>
  20. <body>
  21. <p>
  22. Beginning of p contents.
  23. <span id="outer"> Start of outer contents.
  24. <span id="inner"> Inner contents.</span>
  25. End of outer contents.</span>
  26. End of p contents.
  27. </p>
  28. </body>
  29. </rml>