blob: e3061729d0b66d38298a77c6cc56c443746deab5 [file] [log] [blame]
<!doctype html>
<html>
<head>
<style>
.contents { border:2px solid skyblue; background-color:#cccccc; -webkit-margin-before:6px; -webkit-margin-after:6px }
.fieldset { vertical-align:bottom; -webkit-logical-width:320px; position:relative; display:inline-block; padding:40px; -webkit-padding-before:0}
.legend { -webkit-logical-height:64px; -webkit-logical-width: 284px; -webkit-margin-after:34px;background-color:#3080f0; border:8px solid lightblue; font-size:48px }
.behind-box { position:absolute; border:12px solid navy; z-index:-1 }
.positioned { position:absolute; top:90px; bottom:22px; right:22px; left:22px; background-color:darkblue; z-index:-1 }
</style>
</head>
<body>
<div class=fieldset>
<div class="behind-box" style="left:0; top:34px; right:0; bottom:0;"></div>
<div class=legend>Legend Title</div>
<div class=contents>Fieldset Contents</div>
<div class=contents>More Fieldset Contents</div>
<div class="positioned"></div>
</div>
</body>
</html>