1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 01:17:34 +00:00

LibWeb: Resolve used insets for floating elements

This makes the game carousel work on https://null.com/ :^)
This commit is contained in:
Andreas Kling 2023-07-03 20:30:29 +02:00
parent a2591bc5fa
commit c83ae729d2
5 changed files with 61 additions and 0 deletions

View file

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