blob: 67bf30599755fa939b768f3964cfb01f798f97e5 [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<style>
div {
border: 1px solid green;
}
div > div {
border: 1px solid red;
}
</style>
</head>
<body>
<div style="position: absolute; height: 100px;">
<div style="height: 50px; width: 200px;"></div>
</div>
<div style="position: absolute; top: 150px; height: 100px; max-width: 100px;">
<div style="height: 50px; width: 200px;"></div>
</div>
<div style="position: absolute; top: 300px; height: 100px; min-width: 300px">
<div style="height: 50px; width: 200px;"></div>
</div>
</body>
</html>