mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 07:58:11 +00:00

The file template-areas.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. Also this change removes parts of template-areas.html that we can't layout correctly yet.
14 lines
No EOL
349 B
HTML
14 lines
No EOL
349 B
HTML
<style>
|
|
.grid-container {
|
|
display: grid;
|
|
background-color: lightsalmon;
|
|
grid-template-columns: 1fr 1fr 1fr 1fr;
|
|
grid-template-areas: "one one three two";
|
|
}
|
|
|
|
.grid-item {
|
|
background-color: lightblue;
|
|
grid-column-start: one;
|
|
grid-column-end: one;
|
|
}
|
|
</style><div class="grid-container"><div class="grid-item">1fr</div></div> |