cssAudio - Activefile-genericCSS - ActiveGeneric - ActiveHTML - ActiveImage - ActiveJS - ActiveSVG - ActiveText - Activefile-genericVideo - Activehtmlicon-personicon-teamoctocatpop-outspinnerstartv

Pen Settings

CSS Base

Vendor Prefixing

Add External CSS

These stylesheets will be added in this order and before the code you write in the CSS editor. You can also add another Pen here, and it will pull the CSS from it. Try typing "font" or "ribbon" below.

Quick-add: + add another resource

Add External JavaScript

These scripts will run in this order and before the code in the JavaScript editor. You can also link to another Pen here, and it will run the JavaScript from it. Also try typing the name of any popular library.

Quick-add: + add another resource

Code Indentation

     

Save Automatically?

If active, Pens will autosave every 30 seconds after being saved once.

Auto-Updating Preview

If enabled, the preview panel updates automatically as you code. If disabled, use the "Run" button to update.

            
              <body>
  <div class="container">
    <!--?xml version="1.0" encoding="utf-8"?-->
    <!-- Generator: Adobe Illustrator 19.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0)  -->
    <svg version="1.1" id="music" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 2331.6 1205.8" style="enable-background:new 0 0 2331.6 1205.8;" xml:space="preserve">
      <style type="text/css">
        .st0{fill:url(#XMLID_129_);}
        .st1{fill:#C1C1C0;stroke:#000000;stroke-width:21;stroke-miterlimit:10;}
        .st2{fill:#ED1C24;stroke:#000000;stroke-width:21;stroke-miterlimit:10;}
        .st3{fill:#A5A4A4;stroke:#000000;stroke-width:21;stroke-miterlimit:10;}
        .st4{fill:#7F7F7F;stroke:#000000;stroke-width:21;stroke-miterlimit:10;}
        .st5{fill:none;stroke:#000000;stroke-width:21;stroke-miterlimit:10;}
        .st6{fill:#484748;stroke:#000000;stroke-width:21;stroke-miterlimit:10;}
        .st7{fill:none;stroke:url(#XMLID_130_);stroke-miterlimit:10;}
        .st8{fill:none;stroke:url(#XMLID_131_);stroke-miterlimit:10;}
        .st9{fill:none;stroke:url(#XMLID_132_);stroke-miterlimit:10;}
        .st10{fill:none;stroke:url(#XMLID_133_);stroke-miterlimit:10;}
        .st11{fill:none;stroke:url(#XMLID_134_);stroke-miterlimit:10;}
        .st12{fill:#828282;stroke:#000000;stroke-width:21;stroke-miterlimit:10;}
      </style>
      <linearGradient id="XMLID_129_" gradientUnits="userSpaceOnUse" x1="1160.9054" y1="1121.3599" x2="1160.9054" y2="691.3104">
        <stop offset="0" style="stop-color:#FFFFFF"></stop>
        <stop offset="0" style="stop-color:#8A8C8E"></stop>
        <stop offset="8.721925e-02" style="stop-color:#7F8184"></stop>
        <stop offset="0.3576" style="stop-color:#616264"></stop>
        <stop offset="0.4985" style="stop-color:#545557"></stop>
        <stop offset="0.6205" style="stop-color:#3A3B3C"></stop>
        <stop offset="0.7602" style="stop-color:#242424"></stop>
        <stop offset="0.8902" style="stop-color:#161616"></stop>
        <stop offset="1" style="stop-color:#111111"></stop>
      </linearGradient>
      <polygon id="XMLID_26_" class="st0" points="38.6,1121.4 890.2,691.3 1570.5,691.3 2283.2,1121.4 "></polygon>
      <rect id="XMLID_1_" x="378.4" y="97.2" class="st1" width="459.3" height="863"></rect>
      <rect id="XMLID_2_" x="1519.1" y="97.2" class="st1" width="459.3" height="863"></rect>
      <rect id="XMLID_3_" x="892.8" y="430.6" class="st1" width="577.8" height="529.6"></rect>
      <rect id="XMLID_5_" x="943.8" y="646.2" class="st1" width="49.2" height="49.2"></rect>
      <rect id="XMLID_7_" x="1048.8" y="646.2" class="st1" width="49.2" height="49.2"></rect>
      <rect id="XMLID_8_" x="1153.8" y="646.2" class="st1" width="49.2" height="49.2"></rect>
      <rect id="XMLID_9_" x="1258.8" y="646.2" class="st1" width="49.2" height="49.2"></rect>
      <rect id="XMLID_10_" x="1363.8" y="646.2" class="st2" width="49.2" height="49.2"></rect>
      <line id="XMLID_11_" class="st1" x1="943.8" y1="547.2" x2="1413.1" y2="547.2"></line>
      <rect id="XMLID_6_" x="1009.9" y="755.2" class="st3" width="350.2" height="147"></rect>
      <g id="XMLID_17_">
        <rect id="XMLID_4_" x="947.1" y="504.6" class="st1" width="469.3" height="85.2"></rect>
        <rect id="XMLID_15_" x="947.1" y="504.6" class="st4" width="469.3" height="42.6"></rect>
      </g>
      <g id="XMLID_56_">
        <circle id="XMLID_18_" class="st5" cx="610.9" cy="352.4" r="131.4"></circle>
        <circle id="XMLID_20_" class="st6" cx="610.9" cy="355.1" r="39"></circle>
      </g>
      <g id="XMLID_57_">
        <circle id="XMLID_19_" class="st5" cx="610.9" cy="707.9" r="148.4"></circle>
        <circle id="XMLID_21_" class="st6" cx="610.9" cy="707.9" r="46.8"></circle>
      </g>
      <g id="XMLID_53_">
        <circle id="XMLID_25_" class="st5" cx="1757.3" cy="342.5" r="131.4"></circle>
        <circle id="XMLID_23_" class="st6" cx="1757.3" cy="345.2" r="39"></circle>
      </g>
      <g id="XMLID_122_">
        <g id="XMLID_59_">
          <circle id="XMLID_24_" class="st5" cx="1757.3" cy="698" r="148.4"></circle>
        </g>
        <circle id="XMLID_22_" class="st6" cx="1757.3" cy="698" r="46.8"></circle>
      </g>
      <linearGradient id="XMLID_130_" gradientUnits="userSpaceOnUse" x1="1029.3956" y1="-318.7841" x2="1029.3956" y2="-318.7841">
        <stop offset="0" style="stop-color:#FFFFFF"></stop>
        <stop offset="0" style="stop-color:#8A8C8E"></stop>
        <stop offset="8.721925e-02" style="stop-color:#7F8184"></stop>
        <stop offset="0.3576" style="stop-color:#616264"></stop>
        <stop offset="0.4985" style="stop-color:#545557"></stop>
        <stop offset="0.6205" style="stop-color:#3A3B3C"></stop>
        <stop offset="0.7602" style="stop-color:#242424"></stop>
        <stop offset="0.8902" style="stop-color:#161616"></stop>
        <stop offset="1" style="stop-color:#111111"></stop>
      </linearGradient>
      <path id="XMLID_54_" class="st7" d="M1029.4-318.8"></path>
      <linearGradient id="XMLID_131_" gradientUnits="userSpaceOnUse" x1="1029.3956" y1="-318.7841" x2="1029.3956" y2="-318.7841" gradientTransform="matrix(0.7071 -0.7071 0.7071 0.7071 376.0816 697.0012)">
        <stop offset="0" style="stop-color:#FFFFFF"></stop>
        <stop offset="0" style="stop-color:#8A8C8E"></stop>
        <stop offset="8.721925e-02" style="stop-color:#7F8184"></stop>
        <stop offset="0.3576" style="stop-color:#616264"></stop>
        <stop offset="0.4985" style="stop-color:#545557"></stop>
        <stop offset="0.6205" style="stop-color:#3A3B3C"></stop>
        <stop offset="0.7602" style="stop-color:#242424"></stop>
        <stop offset="0.8902" style="stop-color:#161616"></stop>
        <stop offset="1" style="stop-color:#111111"></stop>
      </linearGradient>
      <path id="XMLID_58_" class="st8" d="M878.6-256.3"></path>
      <linearGradient id="XMLID_132_" gradientUnits="userSpaceOnUse" x1="1029.3956" y1="-318.7841" x2="1029.3956" y2="-318.7841" gradientTransform="matrix(4.489659e-11 -1 1 4.489659e-11 1134.8657 923.9255)">
        <stop offset="0" style="stop-color:#FFFFFF"></stop>
        <stop offset="0" style="stop-color:#8A8C8E"></stop>
        <stop offset="8.721925e-02" style="stop-color:#7F8184"></stop>
        <stop offset="0.3576" style="stop-color:#616264"></stop>
        <stop offset="0.4985" style="stop-color:#545557"></stop>
        <stop offset="0.6205" style="stop-color:#3A3B3C"></stop>
        <stop offset="0.7602" style="stop-color:#242424"></stop>
        <stop offset="0.8902" style="stop-color:#161616"></stop>
        <stop offset="1" style="stop-color:#111111"></stop>
      </linearGradient>
      <path id="XMLID_61_" class="st9" d="M816.1-105.5"></path>
      <linearGradient id="XMLID_133_" gradientUnits="userSpaceOnUse" x1="1029.3956" y1="-318.7841" x2="1029.3956" y2="-318.7841" gradientTransform="matrix(-0.7071 -0.7071 0.7071 -0.7071 1831.8669 547.8439)">
        <stop offset="0" style="stop-color:#FFFFFF"></stop>
        <stop offset="0" style="stop-color:#8A8C8E"></stop>
        <stop offset="8.721925e-02" style="stop-color:#7F8184"></stop>
        <stop offset="0.3576" style="stop-color:#616264"></stop>
        <stop offset="0.4985" style="stop-color:#545557"></stop>
        <stop offset="0.6205" style="stop-color:#3A3B3C"></stop>
        <stop offset="0.7602" style="stop-color:#242424"></stop>
        <stop offset="0.8902" style="stop-color:#161616"></stop>
        <stop offset="1" style="stop-color:#111111"></stop>
      </linearGradient>
      <path id="XMLID_64_" class="st10" d="M878.6,45.4"></path>
      <linearGradient id="XMLID_134_" gradientUnits="userSpaceOnUse" x1="1029.3956" y1="-318.7841" x2="1029.3956" y2="-318.7841" gradientTransform="matrix(-1 0 0 -1 2058.7913 -210.9402)">
        <stop offset="0" style="stop-color:#FFFFFF"></stop>
        <stop offset="0" style="stop-color:#8A8C8E"></stop>
        <stop offset="8.721925e-02" style="stop-color:#7F8184"></stop>
        <stop offset="0.3576" style="stop-color:#616264"></stop>
        <stop offset="0.4985" style="stop-color:#545557"></stop>
        <stop offset="0.6205" style="stop-color:#3A3B3C"></stop>
        <stop offset="0.7602" style="stop-color:#242424"></stop>
        <stop offset="0.8902" style="stop-color:#161616"></stop>
        <stop offset="1" style="stop-color:#111111"></stop>
      </linearGradient>
      <path id="XMLID_67_" class="st11" d="M1029.4,107.8"></path>
      <g id="XMLID_80_">
        <line id="XMLID_79_" class="st5" x1="429" y1="301.9" x2="258.3" y2="204.3"></line>
        <line id="XMLID_78_" class="st5" x1="406.4" y1="355.1" x2="165" y2="355.1"></line>
        <line id="XMLID_55_" class="st5" x1="429" y1="408.4" x2="258.3" y2="506"></line>
      </g>
      <g id="XMLID_81_">
        <line id="XMLID_84_" class="st5" x1="1930.4" y1="291.9" x2="2101.1" y2="194.3"></line>
        <line id="XMLID_83_" class="st5" x1="1952.9" y1="345.2" x2="2194.3" y2="345.2"></line>
        <line id="XMLID_82_" class="st5" x1="1930.4" y1="398.4" x2="2101.1" y2="496"></line>
      </g>
      <g id="XMLID_125_">
        <g id="XMLID_14_">
          <path id="XMLID_12_" class="st12" d="M1095.9,797.2c17.4,0,31.5,14.1,31.5,31.5c0,17.4-14.1,31.5-31.5,31.5
            c-17.4,0-31.5-14.1-31.5-31.5C1064.4,811.3,1078.5,797.2,1095.9,797.2"></path>
        </g>
        <path id="XMLID_123_" d="M1097.4,823.7h-3c-2.8,0-5.1-2.3-5.1-5.1v-16.4c0-2.8,2.3-5.1,5.1-5.1h3c2.8,0,5.1,2.3,5.1,5.1v16.4
        C1102.5,821.4,1100.2,823.7,1097.4,823.7z"></path>
      </g>
      <g id="XMLID_127_">
        <g id="XMLID_126_">
          <g id="XMLID_16_">
            <circle id="XMLID_13_" class="st12" cx="1274.2" cy="828.7" r="31.5"></circle>
          </g>
        </g>
        <path id="XMLID_124_" d="M1276,861.6h-3c-2.8,0-5.1-2.3-5.1-5.1v-16.4c0-2.8,2.3-5.1,5.1-5.1h3c2.8,0,5.1,2.3,5.1,5.1v16.4
        C1281.1,859.3,1278.8,861.6,1276,861.6z"></path>
      </g>
    </svg>


  </div>

</body>
            
          
!
            
                body {
    margin: 0;
    padding: 0;
  }
  
  .container {
    display: block;
    height: 600px;
    background-color: #eee;
    margin: 0 auto;
    padding: 0;
  }
  
  svg#music {
    width: 70%;
    margin: 0 auto;
    display: block;
    top: 20px;
    position: relative;
  }
  
  g#XMLID_56_,
  g#XMLID_53_ {
    animation-name: scale;
    animation-duration: 1s;
    animation-iteration-count: infinite;
    transform-origin: 50% 50%;
  }
  
  g#XMLID_57_,
  g#XMLID_59_ {
    animation-name: scalebigger;
    animation-duration: 1s;
    animation-iteration-count: infinite;
    transform-origin: 50% 50%;
  }
  
  g#XMLID_80_ {
    animation-name: soundleft;
    animation-duration: 1s;
    animation-iteration-count: infinite;
    transform-origin: 50% 50%;
    animation-timing-function: linear;
  }
  
  g#XMLID_81_ {
    animation-name: soundright;
    animation-duration: 1s;
    animation-iteration-count: infinite;
    transform-origin: 50% 50%;
    animation-timing-function: linear;
  }
  
  g#XMLID_125_,
  g#XMLID_127_ {
    animation-name: spin;
    animation-duration: 1s;
    animation-iteration-count: infinite;
    transform-origin: 50% 50%;
    animation-timing-function: linear;
  }
  
  @keyframes soundleft {
    0% {
      transform: translateX(0);
    }
    50% {
      transform: translateX(-25px);
    }
  }
  
  @keyframes soundright {
    0% {
      transform: translateX(0);
    }
    50% {
      transform: translateX(25px);
    }
  }
  
  @keyframes scale {
    0% {
      transform: scale(1);
       transform-origin: center center;
    }
    50% {
      transform: scale(1.06);
       transform-origin: center center;
    }
  }
  
  @keyframes scalebigger {
    0% {
      transform: scale(1);
       transform-origin: center center;
    }
    50% {
      transform: scale(1.1);
      transform-origin: center center;
    }
}
 
  
  @keyframes spin {
    0% {
      transform: rotate(0deg);
      -webkit-transform: rotate(0deg);
    }
    100% {
      transform: rotate(360deg);
      -webkit-transform: rotate(360deg);
    }
  }
  
 
            
          
!
999px
Close

Asset uploading is a PRO feature.

As a PRO member, you can drag-and-drop upload files here to use as resources. Images, Libraries, JSON data... anything you want. You can even edit them anytime, like any other code on CodePen.

Go PRO

Loading ..................

Console