blob: 7714b0f0fca38c1e68a690d9b9420e79b2887e69 [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<style>
.container {
height: 200px;
width: 200px;
margin: 40px;
border: 5px solid blue;
}
.absolute {
position: absolute;
background-color: green;
left: 50px;
top: 50px;
height: 100px;
width: 100px;
}
</style>
</head>
<body>
<div class="container" style="position: relative;">
<div class="absolute"></div>
</div>
<div class="container" style="position: relative;">
<div class="absolute"></div>
</div>
</body>
</html>