gap-004.rml 1.1 KB

1234567891011121314151617181920212223242526272829303132333435
  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/gap-004-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-004-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. display: inline-flex;
  17. gap: 20px;
  18. }
  19. section > div {
  20. background-color: grey;
  21. color: white;
  22. }
  23. </style>
  24. </head>
  25. <body>
  26. <p>Test passes if there are <strong> green lines between boxes</strong>.</p>
  27. <section>
  28. <div>Black Panther</div>
  29. <div>Wonder Woman</div>
  30. <div>Storm</div>
  31. <div>Flash</div>
  32. </section>
  33. </body>
  34. </rml>