mirror of
https://github.com/RGBCube/serenity
synced 2025-05-18 09:15:08 +00:00

Instead of hard-coding a check for "calc", we now call out to parse_dynamic_value() which allows use of other functions like min(), max(), clamp(), etc.
11 lines
No EOL
262 B
HTML
11 lines
No EOL
262 B
HTML
<!DOCTYPE html><style>
|
|
* { border: 1px solid black; }
|
|
body {
|
|
display: grid;
|
|
grid-template-columns: 1fr min(89ch, 100% - 89px) 1fr;
|
|
}
|
|
h1 {
|
|
grid-column: 2 / auto;
|
|
margin: 0;
|
|
}
|
|
</style><body><h1>hello friends</h1> |