blob: cd74732d29a9552d2e88efba187ef69725de3c2e [file] [log] [blame]
<style>
div {
margin-left: auto;
margin-right: auto;
position: absolute;
background-color: green;
height: 100px;
}
</style>
<div style="height: 500px; width: 500px; background-color: transparent">
<div style="left: 10px;"></div>
<div style="right: 10px;"></div>
<div style="left: 10px; width: 100px"></div>
<div style="right: 10px; width: 100px"></div>
</div>