<!DOCTYPE html>
<div style="transform: rotate(45deg); width: 200px; height: 200px; will-change: transform">
  <div style="position: relative; top: 30px; left: 30px; width: 140px; height: 140px; background: green"></div>
</div>
