<!DOCTYPE html>
<style>
#target {
  fill: green;
  stroke: black;
  stroke-width: 20;
  stroke-dasharray: 100 50;
}
</style>
<svg width="400" height="300">
  <rect id="target" width="50" height="100" x="50" y="80"/>
</svg>
