about summary refs log tree commit diff stats
path: root/test/layout/position.html
blob: a88fdde54689d5694cb06c80f1a603927d665618 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
<!DOCTYPE html>
<div style="background-color: red; position: absolute; left: 30ch">test test test test test test test test test test test test test test test test</div>
<br>
<br>
<div style="background-color: green; position: absolute">abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd</div>
<br>
<br>
<div style="background-color: red; position: absolute; left: 30ch; right: 30ch">test test test</div>
<br>
<br>
<div style="position: absolute; width: 10ch">
<div style="width: 30ch">
<div style="background-color: blue; position: relative; left: 50%">test</div>