mirror of
https://github.com/RGBCube/serenity
synced 2026-01-16 06:20:59 +00:00
The file gap.html, which previously had multiple grid tests, has now been divided into smaller files, each containing only one grid test. It is going to make it easier to identify what inputs have been affected by changes in layout code.
13 lines
No EOL
327 B
HTML
13 lines
No EOL
327 B
HTML
<style>
|
|
.container {
|
|
display: grid;
|
|
background-color: lightsalmon;
|
|
grid-template-columns: auto auto;
|
|
gap: calc(1vh + 10px) calc(10% - 10px);
|
|
}
|
|
|
|
.item {
|
|
background-color: palevioletred;
|
|
}
|
|
</style>
|
|
<div class="container"><div class="item" style="grid-column: 2 / span 1">1</div><div class="item">2</div></div> |