<!DOCTYPE HTML>
<html>
<body>
<div style="transform:translateX(100px); width:200px; height:200px; border:1px solid black">
  <div style="position:absolute;">
  </div>
  <div style="position:absolute;">
    <div style="position:fixed; right:0; width:50px; height:80px; background:yellow;">
    </div>
  </div>
</div>