<svg width="0" height="0">
  <defs>
    <path id="home" d="M100 59.375l-18.75-18.75v-28.125h-12.5v15.625l-18.75-18.75-50 50v3.125h12.5v31.25h31.25v-18.75h12.5v18.75h31.25v-31.25h12.5z" 
          transform="translate(2, 2) scale(.95)"/>
  
    <path id="heart" d="M100 34.976c0 8.434-3.635 16.019-9.423 21.274h0.048l-31.25 31.25c-3.125 3.125-6.25 6.25-9.375 6.25s-6.25-3.125-9.375-6.25l-31.202-31.25c-5.788-5.255-9.423-12.84-9.423-21.274 0-15.865 12.861-28.726 28.726-28.726 8.434 0 16.019 3.635 21.274 9.423 5.255-5.788 12.84-9.423 21.274-9.423 15.865 0 28.726 12.861 28.726 28.726z" 
          transform="translate(2, 2) scale(.95)"/>

    <path id="cog" d="M100 59.384v-18.768l-14.333-2.389c-0.582-1.771-1.291-3.483-2.119-5.127l8.443-11.82-13.271-13.271-11.799 8.428c-1.651-0.835-3.373-1.552-5.153-2.139l-2.383-14.298h-18.768l-2.383 14.298c-1.78 0.587-3.502 1.304-5.153 2.139l-11.8-8.428-13.271 13.271 8.443 11.82c-0.827 1.644-1.537 3.356-2.118 5.127l-14.333 2.389v18.768l14.367 2.395c0.582 1.755 1.29 3.452 2.113 5.081l-8.471 11.86 13.271 13.271 11.88-8.486c1.621 0.815 3.31 1.516 5.055 2.093l2.4 14.402h18.768l2.4-14.402c1.746-0.577 3.434-1.278 5.055-2.093l11.88 8.486 13.271-13.271-8.471-11.86c0.823-1.629 1.531-3.326 2.113-5.081l14.367-2.394zM50 62.5c-6.904 0-12.5-5.596-12.5-12.5 0-6.904 5.596-12.5 12.5-12.5 6.904 0 12.5 5.596 12.5 12.5 0 6.904-5.596 12.5-12.5 12.5z" 
          transform="translate(2, 2) scale(.95)"/>

    <path id="camera" d="M29.688 59.375c0 11.218 9.094 20.313 20.313 20.313s20.313-9.094 20.313-20.313-9.094-20.313-20.313-20.313-20.313 9.094-20.313 20.313zM93.75 25h-21.875c-1.563-6.25-3.125-12.5-9.375-12.5h-25c-6.25 0-7.813 6.25-9.375 12.5h-21.875c-3.438 0-6.25 2.813-6.25 6.25v56.25c0 3.438 2.813 6.25 6.25 6.25h87.5c3.438 0 6.25-2.813 6.25-6.25v-56.25c0-3.438-2.813-6.25-6.25-6.25zM50 87.109c-15.317 0-27.734-12.417-27.734-27.734 0-15.317 12.417-27.734 27.734-27.734 15.318 0 27.734 12.417 27.734 27.734 0 15.318-12.417 27.734-27.734 27.734zM93.75 43.75h-12.5v-6.25h12.5v6.25z" 
          transform="translate(2, 2) scale(.95)"/>

    <path id="bubble" d="M50 6.25c27.614 0 50 18.188 50 40.625 0 22.437-22.386 40.625-50 40.625-2.652 0-5.255-0.169-7.795-0.493-10.74 10.74-23.56 12.666-35.955 12.949v-2.629c6.693-3.279 12.5-9.252 12.5-16.078 0-0.953-0.074-1.888-0.211-2.802-11.308-7.448-18.539-18.824-18.539-31.573 0-22.437 22.386-40.625 50-40.625z" 
          transform="translate(2, 2) scale(.95)"/>
    
    <!-- Patterns  -->
    
    <linearGradient id="stripes" 
                    x1="0" y1="0" x2="100%" y2="0%">
          <stop stop-color="hsl(45,100%,65%)" offset="0"/>
          <stop stop-color="hsl(320,100%,65%)" offset="50%"/>
          <stop stop-color="hsl(200,100%,60%)" offset="100%"/>  
    </linearGradient>
    
    <linearGradient id="stripes2" x1="0" y1="0"     
                    x2="0" y2="100%">
          <stop stop-color="rgba(0,0,0,.2)"/>
          <stop stop-color="rgba(0,0,0,.02)" offset="90"/>
    </linearGradient>
     
  </defs>
</svg>

<div class="wrapper">
  <ul class="icons icons--stroke">
    <li class="icon">  
      <svg viewbox="0 0 100 100">
        <use xlink:href="#home">
      </svg>
    </li>  

    <li class="icon">  
      <svg viewbox="0 0 100 100">
        <use xlink:href="#heart">
      </svg>  
    </li>  

    <li class="icon">  
      <svg viewbox="0 0 100 100">
        <use xlink:href="#cog">
      </svg>  
    </li>  

    <li class="icon">  
      <svg viewbox="0 0 100 100">
        <use xlink:href="#camera">
      </svg>  
    </li>  

    <li class="icon">  
      <svg viewbox="0 0 100 100">
        <use xlink:href="#bubble">
      </svg>    
    </li>  
  </ul>
  
  <ul class="icons icons--dasharray">
    <li class="icon">  
      <svg viewbox="0 0 100 100">
        <use xlink:href="#home">
      </svg>
    </li>  

    <li class="icon">  
      <svg viewbox="0 0 100 100">
        <use xlink:href="#heart">
      </svg>  
    </li>  

    <li class="icon">  
      <svg viewbox="0 0 100 100">
        <use xlink:href="#cog">
      </svg>  
    </li>  

    <li class="icon">  
      <svg viewbox="0 0 100 100">
        <use xlink:href="#camera">
      </svg>  
    </li>  

    <li class="icon">  
      <svg viewbox="0 0 100 100">
        <use xlink:href="#bubble">
      </svg>    
    </li>  
  </ul>

  <ul class="icons icons--dasharray-anim">
    <li class="icon">  
      <svg viewbox="0 0 100 100">
        <use xlink:href="#home">
      </svg>
    </li>  
      
    <li class="icon">  
      <svg viewbox="0 0 100 100">
        <use xlink:href="#heart">
      </svg>  
    </li>  

    <li class="icon">  
      <svg viewbox="0 0 100 100">
        <use xlink:href="#cog">
      </svg>  
    </li>  

    <li class="icon">  
      <svg viewbox="0 0 100 100">
        <use xlink:href="#camera">
      </svg>  
    </li>  

    <li class="icon">  
      <svg viewbox="0 0 100 100">
        <use xlink:href="#bubble">
      </svg>    
    </li>  
  </ul>       

  <ul class="icons icons--gradient">
    <li class="icon">  
      <svg viewbox="0 0 100 100">
        <use xlink:href="#home">
      </svg>
    </li>  
      
    <li class="icon">  
      <svg viewbox="0 0 100 100">
        <use xlink:href="#heart">
      </svg>  
    </li>  

    <li class="icon">  
      <svg viewbox="0 0 100 100">
        <use xlink:href="#cog">
      </svg>  
    </li>  

    <li class="icon">  
      <svg viewbox="0 0 100 100">
        <use xlink:href="#camera">
      </svg>  
    </li>  

    <li class="icon">  
      <svg viewbox="0 0 100 100">
        <use xlink:href="#bubble">
      </svg>    
    </li>  
  </ul> 
  
  <ul class="icons icons--gradient2">
    <li class="icon">  
      <svg viewbox="0 0 100 100">
        <use xlink:href="#home">
      </svg>
    </li>  
      
    <li class="icon">  
      <svg viewbox="0 0 100 100">
        <use xlink:href="#heart">
      </svg>  
    </li>  

    <li class="icon">  
      <svg viewbox="0 0 100 100">
        <use xlink:href="#cog">
      </svg>  
    </li>  

    <li class="icon">  
      <svg viewbox="0 0 100 100">
        <use xlink:href="#camera">
      </svg>  
    </li>  

    <li class="icon">  
      <svg viewbox="0 0 100 100">
        <use xlink:href="#bubble">
      </svg>    
    </li>  
  </ul> 
</div>  
BODY {
  font-size: 10px;
  background: #EEE;
  }

.wrapper {
  width: 600px;
  margin: 30px auto;
  text-align: center;
  }
.icons {
  margin-bottom: 1.5em;
  }
.icon {
  display: inline-block;
  position: relative;
  top: 0;
  width: 7.5em;
  height: 7.5em;
  margin: 0 .7em;
  transition: .2s;
  fill: none;
  }

.icons--stroke .icon {
  stroke: rgba(0, 0, 0, .5);
  stroke-width: 2;
    &:hover {
      stroke: skyblue; 
    }
  }


.icons--dasharray .icon {
  stroke: rgba(0, 0, 0, .5);
  stroke-width: 2;
  stroke-dasharray: 10 5;
  fill: rgba(0, 0, 0, .1);
  &:hover {
    stroke-dasharray: 10 0;
    }
  }

.icons--dasharray-anim .icon {
  stroke: rgba(0, 0, 0, .5);
  stroke-width: 2;
  stroke-dasharray: 300 0;
  stroke-dashoffset: 1000;
  animation: dasharray 7s infinite alternate;
  }

@keyframes dasharray {
  100% {
    stroke-dasharray: 0 300;
  }
}

.icons--gradient .icon {
  stroke-width: 3;
  stroke: url(#stripes);
  }

.icons--gradient2 .icon {
  stroke-width: 3;
  stroke: url(#stripes2);
  }


View Compiled

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.