1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 09:57:35 +00:00

LibWeb: Resolve used insets for flex items

This commit is contained in:
Andreas Kling 2023-07-03 20:32:57 +02:00
parent c83ae729d2
commit 03ec17fd37
3 changed files with 34 additions and 0 deletions

View file

@ -0,0 +1,19 @@
<!DOCTYPE html><style>
* { border: 2px solid black; }
body {
width: 600px;
display: flex;
}
div {
width: 200px;
position: relative;
}
.athena {
background: green;
top: 4px;
left: -200px;
}
.exekiller {
background: red;
}
</style><body><div class="exekiller">exekiller</div><div class="athena">athena</div></body>