about summary refs log tree commit diff stats
path: root/test/layout/margins.html
blob: 415dc5927330989779e88f29fd6053558a4caa3e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<!DOCTYPE html>
<style>

* {
  font-family: monospace,monospace
}
</style>
<div style="display: inline-block; width: 15ch">
<div style="margin-bottom: 2ch;">wtf?</div>
<div style="display: flow-root; margin-top: 4ch">hi from right</div>
<div style="margin-left: 2ch; margin-right: 2ch; margin-top: 4ch">
<div style="display: flow-root">hi from left</div>
</div>
<div>
hi in center
</div>
</div>