1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 20:37:35 +00:00

LibWeb: Compute inset for relative positioned inline-block

This commit is contained in:
Emil Militzer 2023-04-28 11:44:21 +02:00 committed by Andreas Kling
parent 62bc8590ad
commit a8d08357c9
3 changed files with 31 additions and 0 deletions

View file

@ -0,0 +1,14 @@
<style>
body {
font-family: 'SerenitySans';
}
.displaced_text {
height: 20px;
top: 40px;
left: 30px;
display: inline-block;
position: relative;
}
</style>text text text<span class="displaced_text">displaced text</span>more inline text