1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 21:27:35 +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,17 @@
<!DOCTYPE html><style>
* { border: 2px solid black; }
body { width: 600px; }
div {
width: 200px;
position: relative;
float: left;
}
.athena {
background: green;
top: 4px;
left: -200px;
}
.exekiller {
background: red;
}
</style><body><div class="exekiller">exekiller</div><div class="athena">athena</div></body>