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