<svg xmlns="http://www.w3.org/2000/svg" version="1.1">
  <set attributeName="viewBox" to="25 25 50 50" begin="0" dur="indefinite"/>
  <rect width="100" height="100" fill="red"/>
  <rect x="25" y="25" width="50" height="50" fill="lime"/>
</svg>