123

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.

            
              <div class="container">
<h1>Cara Membuat Efek Daun Berguguran di Blog</h1>
<span>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus sed pretium elit, id varius eros. Phasellus rutrum ligula risus, eget ornare quam faucibus ut. Pellentesque cursus porta ligula, eget pellentesque erat feugiat vestibulum. In odio ante, gravida nec arcu a, luctus euismod erat. Nam eu mattis nisl. Duis porta sapien at dapibus porttitor. Duis ullamcorper lectus a vehicula auctor. Vestibulum in pretium nibh. Maecenas mi dui, sollicitudin ut sem eu, congue mollis lacus.
</br> </br>
Praesent fermentum eros quam, sit amet facilisis neque auctor sagittis. Etiam lacinia purus quis ex commodo, nec faucibus enim lobortis. Fusce libero lacus, porta id urna vel, viverra placerat eros. In commodo sed libero ut interdum. In iaculis augue eu diam varius, quis venenatis ipsum placerat. Duis ac dignissim lectus. Donec porttitor at sem non condimentum. Suspendisse potenti. Etiam semper ex eu risus dictum vulputate. Aenean mollis dolor tellus, rutrum egestas nisi congue ac.
</br> </br>
Fusce et sem vel nulla viverra suscipit. Praesent suscipit sem luctus, fringilla turpis non, scelerisque risus. Nulla sed venenatis purus. Ut suscipit luctus enim, a iaculis ipsum congue a. Etiam sed quam purus. Phasellus vel massa maximus, mollis neque sit amet, fermentum urna. Donec tincidunt augue ut posuere blandit. Aliquam massa nibh, tristique at ex sed, sagittis tincidunt nisi. Maecenas sollicitudin dapibus imperdiet. Quisque odio felis, ullamcorper consequat sapien nec, gravida dapibus sem.
</br> </br>
Sed vestibulum ultrices sapien sed ultricies. Ut egestas, ex vel ultrices auctor, augue massa tristique ante, ac tempor est urna quis nisi. Aenean vehicula risus vel odio pulvinar, sed ornare mauris commodo. Maecenas dapibus magna urna, sit amet pretium nisl maximus eget. Donec sit amet lacus ligula. Nunc fermentum lectus at ornare elementum. Praesent eget odio at libero facilisis tempus semper eget leo. Proin quis efficitur arcu. Praesent pellentesque enim ut ornare condimentum. In finibus convallis risus. Ut eu tempor metus. Fusce sollicitudin dignissim enim vel tincidunt. Etiam pharetra magna vel ornare facilisis. Etiam dignissim non magna a laoreet. Aenean id metus nibh. Nam ut iaculis nisi.
</br> </br>
Suspendisse ultricies non neque ac elementum. Fusce dictum, neque eget posuere pharetra, nisi leo tincidunt felis, ut mollis lacus dui vitae ex. Morbi ultrices sapien non nisi ornare luctus. Aliquam congue, quam ut blandit cursus, leo purus auctor nibh, id dictum est enim non quam. In tempor urna sed tempus ultrices. Suspendisse pretium tellus nec maximus dignissim. Cras congue justo mollis ex posuere, vitae efficitur libero mattis. Mauris condimentum justo eget ex molestie, a pulvinar tortor dignissim. Mauris vulputate viverra erat vitae molestie. Maecenas pulvinar dolor vitae lorem fringilla sodales. Sed consequat finibus mi, at pellentesque nisi. Pellentesque quis nisl sit amet nulla lobortis porta eu in nulla.</p>
</span>
</div>
            
          
!
            
              @import url(https://fonts.googleapis.com/css?family=Open+Sans:400,700);
body {
  background: #f1f1f1 none repeat scroll top left;
  font-family: 'Open Sans', sans-serif;
  margin: 0;
  padding: 0;
  position: relative;
  line-height: normal;
}

a,
a:visited {
  color: #555;
  outline: none;
  text-decoration: none;
}

a:hover,
a:focus,
a:visited:hover {
  color: #22a1c4;
  text-decoration: none;
}

.container {
  max-width: 768px;
  margin: 1% auto;
  padding: 30px;
  background: #fff;
  color: #95a5a6;
  font-family: 'Open Sans', sans-serif;
  font-size: 1em;
  line-height: normal;
}

.container h1,
.container h2 {
  display: block;
  text-align: center;
  margin-bottom: 30px;
  font-size: 2em;
  font-weight: 700;
  color: #336699;
}

.container h2 {
  margin-top: 30px;
}
            
          
!
            
              
			/******************************************
			* Snow Effect Script- By Altan d.o.o. (http://www.altan.hr/snow/index.html)
			* Visit Dynamic Drive DHTML code library (http://www.dynamicdrive.com/) for full source code
			* Last updated Nov 9th, 05 by DD. This notice must stay intact for use
			******************************************/
			  
			  //Configure below to change URL path to the snow image
			  var snowsrc="http://arti.master.irhamna.googlepages.com/snow.gif";
			  // Configure below to change number of snow to render
			  var no = 20;
			  // Configure whether snow should disappear after x seconds (0=never):
			  var hidesnowtime = "0";
			  // Configure how much snow should drop down before fading ("windowheight" or "pageheight")
			  var snowdistance = "pageheight";
			
			///////////Stop Config//////////////////////////////////
			
			  var ie4up = (document.all) ? 1 : 0;
			  var ns6up = (document.getElementById&&!document.all) ? 1 : 0;
			
				function iecompattest(){
				return (document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body
				}
			
			  var dx, xp, yp;    // coordinate and position variables
			  var am, stx, sty;  // amplitude and step variables
			  var i, doc_width = 800, doc_height = 400; 
			  
			  if (ns6up) {
				doc_width = self.innerWidth;
				doc_height = self.innerHeight;
			  } else if (ie4up) {
				doc_width = iecompattest().clientWidth;
				doc_height = iecompattest().clientHeight;
			  }
			
			  dx = new Array();
			  xp = new Array();
			  yp = new Array();
			  am = new Array();
			  stx = new Array();
			  sty = new Array();
			  snowsrc=(snowsrc.indexOf("dynamicdrive.com")!=-1)? "snow.gif" : snowsrc
			  for (i = 0; i < no; ++ i) {  
				dx[i] = 0;                        // set coordinate variables
				xp[i] = Math.random()*(doc_width-50);  // set position variables
				yp[i] = Math.random()*doc_height;
				am[i] = Math.random()*20;         // set amplitude variables
				stx[i] = 0.02 + Math.random()/10; // set step variables
				sty[i] = 0.7 + Math.random();     // set step variables
					if (ie4up||ns6up) {
				  if (i == 0) {
					document.write("<div id=\"dot"+ i +"\" style=\"POSITION: absolute; Z-INDEX: "+ i +"; VISIBILITY: visible; TOP: 15px; LEFT: 15px;\"><a href=\"http://wpplugins.info\"><img src="+snowsrc+" border=\"0\"><\/a><\/div>");
				  } else {
					document.write("<div id=\"dot"+ i +"\" style=\"POSITION: absolute; Z-INDEX: "+ i +"; VISIBILITY: visible; TOP: 15px; LEFT: 15px;\"><img src="+snowsrc+" border=\"0\"><\/div>");
				  }
				}
			  }
			
			  function snowIE_NS6() {  // IE and NS6 main animation function
				doc_width = ns6up?window.innerWidth-10 : iecompattest().clientWidth-10;
					doc_height=(window.innerHeight && snowdistance=="windowheight")? window.innerHeight : (ie4up && snowdistance=="windowheight")?  iecompattest().clientHeight : (ie4up && !window.opera && snowdistance=="pageheight")? iecompattest().scrollHeight : iecompattest().offsetHeight;
				for (i = 0; i < no; ++ i) {  // iterate for every dot
				  yp[i] += sty[i];
				  if (yp[i] > doc_height-50) {
					xp[i] = Math.random()*(doc_width-am[i]-30);
					yp[i] = 0;
					stx[i] = 0.02 + Math.random()/10;
					sty[i] = 0.7 + Math.random();
				  }
				  dx[i] += stx[i];
				  document.getElementById("dot"+i).style.top=yp[i]+"px";
				  document.getElementById("dot"+i).style.left=xp[i] + am[i]*Math.sin(dx[i])+"px";  
				}
				snowtimer=setTimeout("snowIE_NS6()", 10);
			  }
			
				function hidesnow(){
					if (window.snowtimer) clearTimeout(snowtimer)
					for (i=0; i<no; i++) document.getElementById("dot"+i).style.visibility="hidden"
				}
					
			
			if (ie4up||ns6up){
				snowIE_NS6();
					if (hidesnowtime>0)
					setTimeout("hidesnow()", hidesnowtime*1000)
					}
            
          
!
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.

Console