mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-01 22:55:23 +00:00
15 lines
494 B
HTML
15 lines
494 B
HTML
<!DOCTYPE HTML>
|
|
<title>Test of margin-*: calc()</title>
|
|
<style>
|
|
|
|
div { border: medium solid green; width: 500px }
|
|
p { background: yellow }
|
|
|
|
</style>
|
|
|
|
<div><p style="margin: 15px 0 0 0">paragraph with margin</p></div>
|
|
<div><p style="margin: 0 15px 0 0">paragraph with margin</p></div>
|
|
<div><p style="margin: 0 0 15px 0">paragraph with margin</p></div>
|
|
<div><p style="margin: 0 0 0 15px">paragraph with margin</p></div>
|
|
<div><p style="margin: 25px 25px 25px 25px">paragraph with margin</p></div>
|