gap-007.rml 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738
  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/gap-007-ltr.xht" rel="source"/>
  6. <link href="mailto:[email protected]" rel="author" title="Adam Argyle"/>
  7. <link href="https://www.w3.org/TR/css-grid-1/#gutters" rel="help"/>
  8. <link href="https://www.w3.org/TR/css-align-3/#column-row-gap" rel="help"/>
  9. <link href="https://www.w3.org/TR/css-align-3/#gap-legacy" rel="help"/>
  10. <link href="reference/gap-007-ref.rml" rel="match"/>
  11. <meta content="The 'gap' property enables putting space exclusively between items" name="assert"/>
  12. <style>
  13. section {
  14. background-color: green;
  15. height: 100px;
  16. width: 200px;
  17. display: inline-flex;
  18. flex-direction: column;
  19. flex-wrap: wrap;
  20. gap: 20px;
  21. }
  22. section > div {
  23. background-color: grey;
  24. color: white;
  25. }
  26. </style>
  27. </head>
  28. <body>
  29. <p>Test passes if there are <strong> green lines between boxes</strong>.</p>
  30. <section>
  31. <div>Black Panther</div>
  32. <div>Wonder Woman</div>
  33. <div>Storm</div>
  34. <div>Flash</div>
  35. </section>
  36. </body>
  37. </rml>