<svg style="display: none;">
<symbol id="codrops" viewBox="0 0">
  <rect width="40" height='40' fill="#ddd" />
    <rect x="20" y='20' width="50" height="50" fill="#aaa" /> 
    
</symbol>
</svg>
<svg height="100px" width="100px">
  <use xlink:href="#codrops" class=""/>
</svg>
<svg height="100px" width="100px">
  <use xlink:href="#codrops" class=""/>
</svg>
<svg height="100px" width="100px">
  <use xlink:href="#codrops" class=""/>
</svg>

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.