<style>
.container {
  background-color: green;
  width: 200px;
  height: 200px;
}

.block {
  background-color: blue;
  height: 100px;
  width: 300px;
}
.relative {
  width: 0px;
  height: 0px;
  overflow: hidden;
  outline: 5px solid cyan;
  position: relative;
  left: 300px;
  top: -100px;
}
</style>
<div class=container>
  <div class=block></div>
  <div class=relative></div>
</div>
