Source code

Revision control

Copy as Markdown

Other Tools

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<title>Padding/border/margin on an operator, stretchy along the block axis (reference)</title>
<body>
<p>This test passes if you see a cyan rectangle of width 300px and
height 1500px, surrounded by a 10px blue padding, surrounded by a 10px
blue/yellow dashed border, itself
surrounded by a 10px pink margin.</p>
</div>
<div style="background: pink; position: absolute; left: 10px; top: 4em;">
<div style="background: blue; border: 10px dashed yellow; padding: 10px; margin: 10px;">
<div style="width: 300px; height: 1500px; background: cyan;"></div>
</div>
</div>
</body>
</html>