blob: 3d5fb866afc7b84bef7aefd8b8adf2af8b9d500c [file] [log] [blame]
<!doctype html>
<head>
<style>
* { -webkit-box-sizing: border-box; }
</style>
</head>
<body>
<div id="test" style="position:relative; width:100px;height:100px; border:5px solid black; background-color:red">
<div style="display:inline-block">
<div>
<div style="position:absolute;left:0;top:0;width:100%; height:100%;background-color:lime"></div>
</div>
</div>
</div>
</body>