mirror of
https://github.com/RGBCube/serenity
synced 2025-05-19 20:25:07 +00:00

This change brings calculate_minimum_contribution() for grid items and supporting functions.
22 lines
No EOL
431 B
HTML
22 lines
No EOL
431 B
HTML
<style>
|
|
.grid {
|
|
float: left;
|
|
display: grid;
|
|
grid-template-columns: auto;
|
|
grid-template-rows: auto;
|
|
}
|
|
|
|
.first {
|
|
background: pink;
|
|
border: 1px solid black;
|
|
min-width: 100px;
|
|
min-height: 100px;
|
|
}
|
|
|
|
.second {
|
|
background: skyblue;
|
|
border: 1px solid black;
|
|
min-width: 100px;
|
|
min-height: 100px;
|
|
}
|
|
</style><div class="grid"><div class="first">first</div><div class="second">second</div></div> |