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:
parent
62bc8590ad
commit
a8d08357c9
3 changed files with 31 additions and 0 deletions
|
@ -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
|
Loading…
Add table
Add a link
Reference in a new issue