| 123456789101112131415161718192021222324252627282930313233343536373839 |
- <rml>
- <head>
- <link type="text/rcss" href="/../Tests/Data/style.rcss"/>
- <title>CSS Flexbox Test: gap - mixed units</title>
- <link href="https://test.csswg.org/suites/css-align-3_dev/nightly-unstable/xhtml1/gap-009-ltr.xht" rel="source"/>
- <link href="mailto:[email protected]" rel="author" title="Adam Argyle"/>
- <link href="https://www.w3.org/TR/css-grid-1/#gutters" rel="help"/>
- <link href="https://www.w3.org/TR/css-align-3/#column-row-gap" rel="help"/>
- <link href="https://www.w3.org/TR/css-align-3/#gap-legacy" rel="help"/>
- <link href="reference/gap-009-ref.rml" rel="match"/>
- <meta content="The 'gap' property enables putting space exclusively between items" name="assert"/>
- <style>
- section {
- background-color: green;
- height: 100px;
- width: 30rem;
- display: flex;
- gap: 50% 1rem;
- flex-wrap: wrap;
- }
- section > div {
- background-color: grey;
- width: 14.5rem;
- }
- </style>
- </head>
- <body>
- <p>
- Test passes if there are <strong> 50% horizontal green line and 1rem vertical green line between boxes</strong>.
- </p>
- <section>
- <div></div>
- <div></div>
- <div></div>
- <div></div>
- </section>
- </body>
- </rml>
|