blob: 16c17cdb9ac21592b97a7a835ae7bda02d14dc5e [file] [log] [blame]
<!DOCTYPE html>
<style>
body {
position: relative;
left: 1px;
}
.parent {
display: inline-block;
transform: scale(5);
opacity: 0.8;
}
.child {
position: absolute;
width: 10px;
height: 10px;
background: red;
border: 1px solid black;
}
</style>
<div class="parent">
<div class="child"></div>
</div>