<div class="outer">
  <div class="inner">
  <svg height="500" width="500">
    <polygon points="50,5 20,99 95,39 5,39 80,99"  style="fill:#00BD9D;stroke:#00BD9D;stroke-width:1;fill-rule:nonzero;">
  <animateTransform attributeName="transform" attributeType="XML"
                        type="scale"
                        from="1" to="3"
                        begin="0s" dur="10s"
                    repeatCount="indefinite"
                        additive="sum"/>
      <animateTransform attributeName="transform" attributeType="XML"
                        type="rotate"
                        from="0 130 120"
                        to="360 130 120"
                        begin="0s" dur="10s"

                        repeatCount="indefinite"
                        additive="sum"/>
  </polygon>
  </svg>
</div>
</div>
#star {
  position: relative;
  right: 200;
}

.outer {
  display: flex;
  align-items: center;
  justify-content: center;
}

.inner {
  max-width: 100%;
}

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.