| 123456789101112131415161718192021222324252627282930313233343536373839404142 |
- <rml>
- <head>
- <link type="text/rcss" href="/../Tests/Data/style.rcss"/>
- <title>CSS Flexbox Test: gap - rows and columns</title>
- <link href="https://test.csswg.org/suites/css-align-3_dev/nightly-unstable/xhtml1/reference/gap-003-ltr-ref.xht"
- rel="source"/>
- <link href="mailto:[email protected]" rel="author" title="Adam Argyle"/>
- <style>
- section {
- background-color: green;
- height: 200px;
- width: 400px;
- display: flex;
- flex-wrap: wrap;
- }
- section > div {
- background-color: grey;
- width: 190px;
- }
- section > div:nth-child(1),
- section > div:nth-child(3) {
- margin-right: 20px;
- }
- section > div:nth-child(3),
- section > div:nth-child(4) {
- margin-top: 20px;
- }
- </style>
- </head>
- <body>
- <p>Test passes if there are <strong> green lines between boxes</strong>.</p>
- <section>
- <div></div>
- <div></div>
- <div></div>
- <div></div>
- </section>
- </body>
- </rml>
|