Edit in JSFiddle


              
<div class="container">
  <div class="test"></div>
</div>
body {
    direction: ltr;
}
.container {
    background-color: red;
    width: 300px;
    height: 300px;
    margin-left: 100px;
    margin-top: 100px;
    position: relative;
    padding-left: 20px;
}
.test {
    position: absolute;
    left: 20px;
    top: 20px;
    width: 100px;
    height: 100px;
    background-color: #000;
}