mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-30 21:28:40 +00:00
Rewrites the grid area building to accurately identify areas that span multiple rows. Also now we can recognize invalid areas but do not handle them yet.
22 lines
469 B
HTML
22 lines
469 B
HTML
<!DOCTYPE html><head><style type="text/css">
|
|
* {
|
|
border: 1px solid black;
|
|
}
|
|
|
|
.grid {
|
|
display: grid;
|
|
grid-template-rows: 100px 100px 100px;
|
|
grid-template-columns: 100px 100px 100px;
|
|
grid-template-areas: "a a b" "a a b" "a a b";
|
|
}
|
|
|
|
.a {
|
|
grid-area: a / a / a / a;
|
|
background-color: red;
|
|
}
|
|
|
|
.b {
|
|
grid-area: b / b / b / b;
|
|
background-color: blueviolet;
|
|
}
|
|
</style></head><body><div class="grid"><div class="a">a</div><div class="b">b</div> |