Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /css/css-gaps/grid-lanes/row-gap-decorations-break-normal.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<title>CSS Gap Decorations: explicit row-rule-break normal breaks the grid-axis rule around a spanner but not at ordinary intersections in row grid-lanes</title>
<link rel="author" title="Javier Contreras" href="mailto:javiercon@microsoft.com">
<link rel="match" href="row-gap-decorations-break-normal-ref.html">
<style>
body { margin: 0; }
.lanes {
display: grid-lanes;
grid-template-rows: repeat(2, 60px);
grid-lanes-direction: row;
column-gap: 20px;
row-gap: 20px;
width: max-content;
background: #cdd5e0;
row-rule: 4px solid blue;
row-rule-break: normal;
column-rule: 4px solid gold;
}
.lanes > div { background: #5b8def; }
.a { grid-row: 1; width: 60px; }
.b { grid-row: 2; width: 60px; }
.s { grid-row: 1 / span 2; width: 40px; background: #8a6df0; }
.c { grid-row: 1; width: 60px; }
.d { grid-row: 2; width: 100px; }
.e { grid-row: 1; width: 20px; }
</style>
<div class="lanes">
<div class="a"></div>
<div class="b"></div>
<div class="s"></div>
<div class="c"></div>
<div class="d"></div>
<div class="e"></div>
</div>