gap-007-ref.rml 931 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. <rml>
  2. <head>
  3. <link type="text/rcss" href="/../Tests/Data/style.rcss"/>
  4. <title>CSS Flexbox Test: gap - wrap vertical</title>
  5. <link href="https://test.csswg.org/suites/css-align-3_dev/nightly-unstable/xhtml1/reference/gap-007-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. width: 200px;
  13. display: inline-flex;
  14. flex-direction: column;
  15. flex-wrap: wrap;
  16. }
  17. section > div {
  18. background-color: grey;
  19. color: white;
  20. }
  21. section > div:nth-child(2) {
  22. margin-top: 20px;
  23. margin-bottom: 20px;
  24. }
  25. section > div:not(:last-of-type) {
  26. margin-right: 20px;
  27. }
  28. </style>
  29. </head>
  30. <body>
  31. <p>Test passes if there are <strong> green lines between boxes</strong>.</p>
  32. <section>
  33. <div>Black Panther</div>
  34. <div>Wonder Woman</div>
  35. <div>Storm</div>
  36. <div>Flash</div>
  37. </section>
  38. </body>
  39. </rml>