mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 03:27:44 +00:00

As spec comment in the code says we should use item’s max-content contribution to calculate flex fraction. Likely, it was calculate_max_content_size() because we didn't have calculate_max_content_contribution() when this function was implemented initially.
16 lines
No EOL
427 B
HTML
16 lines
No EOL
427 B
HTML
<!DOCTYPE html><style type="text/css">
|
|
.w-layout-grid {
|
|
grid-template-rows: auto auto;
|
|
grid-template-columns: 1fr 1fr;
|
|
grid-auto-columns: 1fr;
|
|
display: grid;
|
|
}
|
|
.button {
|
|
padding: 50px;
|
|
color: rgb(255, 255, 255);
|
|
background-color: rgb(56, 152, 236);
|
|
}
|
|
.cta-banner {
|
|
display: flex;
|
|
}
|
|
</style><div class="cta-banner"><div class="w-layout-grid"><div class="button">Sign up for free</div></div></div> |