Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

<!DOCTYPE html>
<title>CSS Gap Decorations: stacking-axis align-self leaves alignment space after the preceding row rule undecorated in column grid-lanes</title>
<link rel="author" title="Javier Contreras" href="mailto:javiercon@microsoft.com">
<link rel="match" href="column-gap-decorations-038-ref.html">
<style>
body { margin: 0; }
.lanes {
display: grid-lanes;
grid-template-columns: 120px;
row-gap: 16px;
width: max-content;
height: 480px;
background: #cdd5e0;
row-rule: 4px solid gold;
}
.lanes > div {
height: 80px;
background: #5b8def;
}
.lanes > div.centered { align-self: center; background: #1f9d6b; }
</style>
<div class="lanes">
<div></div>
<div class="centered"></div>
</div>