css Audio - Active file-generic CSS - Active Generic - Active HTML - Active JS - Active SVG - Active Text - Active file-generic Video - Active header Love html icon-new-collection icon-person icon-team numbered-list123 pop-out spinner split-screen star tv

Pen Settings

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URL's added here will be added as <link>s in order, and before the CSS in the editor. If you link to another Pen, it will include the CSS from that Pen. If the preprocessor matches, it will attempt to combine them before processing.

+ add another resource

You're using npm packages, so we've auto-selected Babel for you here, which we require to process imports and make it all work. If you need to use a different JavaScript preprocessor, remove the packages in the npm tab.

Add External Scripts/Pens

Any URL's added here will be added as <script>s in order, and run before the JavaScript in the editor. You can use the URL of any other Pen and it will include the JavaScript from that Pen.

+ add another resource

Use npm Packages

We can make npm packages available for you to use in your JavaScript. We use webpack to prepare them and make them available to import. We'll also process your JavaScript with Babel.

⚠️ This feature can only be used by logged in users.

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.

HTML Settings

Here you can Sed posuere consectetur est at lobortis. Donec ullamcorper nulla non metus auctor fringilla. Maecenas sed diam eget risus varius blandit sit amet non magna. Donec id elit non mi porta gravida at eget metus. Praesent commodo cursus magna, vel scelerisque nisl consectetur et.

            
              <body >
		<img src="http://7sblre.com1.z0.glb.clouddn.com/wukong.jpg" alt="" class="wukong">
		<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
			 width="190.833px" height="190.833px" viewBox="224.583 107.833 190.833 190.833"
			 enable-background="new 224.583 107.833 190.833 190.833" xml:space="preserve" class='wukong-svg'>

		<path fill="none" stroke="#FCFCFC" stroke-miterlimit="10" d="M261.771,227.5l-28-36.5l10-23l-19.417,10v25.25
			C224.354,203.25,252.771,226.5,261.771,227.5z"/>
		<path fill="none" stroke="#FCFCFC" stroke-miterlimit="10" d="M293.271,275l26.5,19c0,0,10.5,5,16,0s37.5-38.5,37.5-38.5l11.5-32
			c0,0,13.832,6.5,30.416-10.5"/>
		<polygon fill="none" stroke="#FCFCFC" stroke-miterlimit="10" points="251.271,129.5 261.771,112 261.771,107.833 275.271,107.833 
			"/>
		<path fill="none" stroke="#FCFCFC" stroke-miterlimit="10" d="M263.271,185l5-26l28.5-46l16.5-5.167h22l5,30.667
			c0,0-51.5,42-61.5,68s-3.5,23.5-3.5,23.5s-8-18-5-26.75s19-50.75,19-50.75L263.271,185z"/>
		<polygon fill="none" stroke="#FCFCFC" stroke-miterlimit="10" points="324.271,218.5 326.771,221.5 335.771,218.5 335.771,224 
			365.771,215.5 375.271,197.75 381.271,197.75 373.271,186.5 "/>
		<path fill="none" stroke="#FCFCFC" stroke-miterlimit="10" d="M336.604,222.583L372.771,165v-38.333l-11-18.833h-21.5L333.438,137
			c0,0,22,26.333,17,44.667S336.604,222.583,336.604,222.583z"/>
		<polygon fill="none" stroke="#FCFCFC" stroke-miterlimit="10" points="374.438,156.667 386.771,176.333 376.771,213 415.187,168 
			415.187,129.5 392.771,107.833 363.271,107.833 374.271,126.25 "/>
		<path fill="none" stroke="#FCFCFC" stroke-miterlimit="10" d="M387.521,215.75l7.75-6l10.25,1.75l9.666-8.25V175.5l-3.166,3.25
			l1.75,3.5l-0.5,5.5l-9,1.5l0.25,6.375c0,0-9.25,1.875-7,7.625c-5.25,3.75-7,7.25-7,7.25l6.5-5.25h5.5l2.25-6l3,2.25l5.75-3.75"/>
		<path fill="none" stroke="#FCFCFC" stroke-miterlimit="10" d="M296.271,245.75c0,0-1.25-8.5-13-8.25c5.75-3,6.75-7.12,2.25-7.435
			s13.25,0,13.25,0l4-1.335l3,2.521l3.75,1.5l-12,13"/>
		<path fill="none" stroke="#FCFCFC" stroke-miterlimit="10" d="M345.938,192.5c0,0-0.499-24.582-3.333-27.291
			c-2.167-4.042-6-9.709-6-9.709s4.332,17.5,2.166,22c-2.333-8.667-9.166-25-13.666-24.167c-3.334,3-3.334,3-3.334,3
			s20.168,36,17.834,41.417c-4.5,3.917-4.584,2.917-4.584,2.917v-7.5l-15.25-27.959h-6.75l-18.5,40.042l17.25,15l3.25-8.75v11.083h1
			l1.25-9.583l0.75,11h1.75v-16l1.5,16h3c0,0,0.999,7-4.5,7.25c-0.5,7.75-1.25,16-3.5,18.25c1.25,1.25,3.5,3.25,3.5,3.25l7.75-1.5
			c0,0-3.75,6.5-5.5,7s-5-2-5-2l-1.75,2.066c0,0-2.75,4.184,4.5,3.434s15.25,0.09,15.25,0.09s-14.5-2.09-16.75,5.16s5.75,3,6,2.5
			s8-0.25,8-0.25l-8,8.25V274c0,0-8.5,15,1.25,16s6,2.25,6,2.25l-11.75-1l-22.75-16"/>
		<path fill="none" stroke="#FCFCFC" stroke-miterlimit="10" d="M389.229,226.5l15.292,69.722v2.444h-41.25l8-36.083l10-7.972V269
			c0,0,6.5,20.944,5,27.222c-1.5,6.278,2.958-22.222,2.958-22.222l-1.708-10l1.708-16l2.792-2.25"/>
		</svg>
</body>
            
          
!
            
              svg, img {
		max-width: 100%;
}
* {
  padding: 0;
  margin: 0;
}
html,body {
  height: 100%;
  background-color: black;
}
.wukong {

  width: 200px;
  height: 200px;
  margin-left: -100px;
  margin-top: -100px;
  left: 50%;
  top: 50%;
  position: absolute;

  opacity: 0;
  animation: fadeIn 5.5s forwards linear infinite;
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  80% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@-webkit-keyframes fadeIn {
  0% {
    opacity: 0;
  }
  80% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
.wukong-svg {
  width: 200px;
  height: 200px;
  margin-left: -100px;
  margin-top: -100px;
  left: 50%;
  top: 50%;
  position: absolute;

  position: relative;
  z-index: 10;
  stroke-dasharray: 800;
  stroke-dashoffset: 1000;

  animation: dash 5.5s forwards linear;
  -webkit-animation: dash 5.5s forwards linear infinite;
}
@keyframes dash {
  0% {
    stroke-dashoffset: 1000;
    opacity: 1;
  }
  99% {
    opacity: 0.6;
  }
  100% {
    stroke-dashoffset: 0;
    opacity: 0;
  }
}
@-webkit-keyframes dash {
  0% {
    stroke-dashoffset: 1000;
    opacity: 1;
  }
  99% {
    opacity: 0.6;
  }
  100% {
    stroke-dashoffset: 0;
    opacity: 0;
  }
}
            
          
!
999px
🕑 One or more of the npm packages you are using needs to be built. You're the first person to ever need it! We're building it right now and your preview will start updating again when it's ready.
Loading ..................

Console