{
  background-color: green;
  position: relative;
  offset-path: polygon(0px 0px, 600px 0px, 300px 400px);
  offset-distance: 90%;
  width: 100px;
  height: 100px;
}
</style>

<div id="outer">
  <div id="box"></div>
</div>
