gap-006-ref.rml 964 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. <rml>
  2. <head>
  3. <link type="text/rcss" href="/../Tests/Data/style.rcss"/>
  4. <title>CSS Flexbox Test: gap - wrap horizontal</title>
  5. <link href="https://test.csswg.org/suites/css-align-3_dev/nightly-unstable/xhtml1/reference/gap-006-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-wrap: wrap;
  15. }
  16. section > div {
  17. background-color: grey;
  18. color: white;
  19. height: 20px;
  20. }
  21. #bp {
  22. width: 120px;
  23. }
  24. #ww {
  25. width: 130px;
  26. }
  27. #s, #f {
  28. width: 40px;
  29. }
  30. #bp, #ww {
  31. margin-bottom: 20px;
  32. margin-right: 20px;
  33. }
  34. </style>
  35. </head>
  36. <body>
  37. <p>Test passes if there are <strong> green lines between boxes</strong>.</p>
  38. <section>
  39. <div id="bp">Black Panther</div>
  40. <div id="ww">Wonder Woman</div>
  41. <div id="s">Storm</div>
  42. <div id="f">Flash</div>
  43. </section>
  44. </body>
  45. </rml>