gap-004-ref.rml 793 B

12345678910111213141516171819202122232425262728293031323334
  1. <rml>
  2. <head>
  3. <link type="text/rcss" href="/../Tests/Data/style.rcss"/>
  4. <title>CSS Flexbox Test: gap - intrinsic horizontal</title>
  5. <link href="https://test.csswg.org/suites/css-align-3_dev/nightly-unstable/xhtml1/reference/gap-004-ltr-ref.xht"
  6. rel="source"/>
  7. <link href="mailto:[email protected]" rel="author" title="Adam Argyle"/>
  8. <style>
  9. section {
  10. background-color: green;
  11. height: 100px;
  12. display: inline-flex;
  13. }
  14. section > div {
  15. background-color: grey;
  16. color: white;
  17. }
  18. section > div:not(:last-of-type) {
  19. margin-right: 20px;
  20. }
  21. </style>
  22. </head>
  23. <body>
  24. <p>Test passes if there are <strong> green lines between boxes</strong>.</p>
  25. <section>
  26. <div>Black Panther</div>
  27. <div>Wonder Woman</div>
  28. <div>Storm</div>
  29. <div>Flash</div>
  30. </section>
  31. </body>
  32. </rml>