1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-28 16:55:09 +00:00
serenity/Tests/LibWeb/Layout/input/grid/float-container-columns-1fr-1fr.html
Aliaksandr Kalenik a613a0973e LibWeb: Reset item_incurred_increase before distributing space in GFC
item_incurred_increase should be reset before every next distirbution
because otherwise it will accumulate increases from previous
distributions which is not supposed to happen.
2023-05-16 07:47:47 +02:00

13 lines
No EOL
348 B
HTML

<style>
.container {
float: left;
display: grid;
background-color: lightsalmon;
grid-template-columns: 1fr 1fr;
}
.item {
background-color: lightblue;
}
</style>
<div class="container"><div class="item">some-text</div><div class="item">goes-here</div><div class="item">another-text</div><div class="item">goes-there</div></div>