Pen Settings



CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URLs added here will be added as <link>s in order, and before the CSS in the editor. You can use the CSS from another Pen by using its URL and the proper URL extension.

+ add another resource


Babel includes JSX processing.

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


Add Packages

Search for and use JavaScript packages from npm here. By selecting a package, an import statement will be added to the top of the JavaScript editor for this package.


Auto Save

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.

Format on Save

If enabled, your code will be formatted when you actively save your Pen. Note: your code becomes un-folded during formatting.

Editor Settings

Code Indentation

Want to change your Syntax Highlighting theme, Fonts and more?

Visit your global Editor Settings.


                <strong class="typemachine">
		Dear Jhon Doe
 	<p class="typemachine">
		Integer dapibus porttitor erat, in dignissim est congue venenatis. Nam volutpat vestibulum elit nec commodo. Donec aliquet justo ut quam pharetra rutrum. Donec feugiat purus quis massa imperdiet nec adipiscing erat dapibus. Pellentesque congue, nulla non ultrices dignissim, quam metus faucibus felis, non auctor ante purus eget metus. Nulla leo nunc, lobortis eget mattis sed, pretium ac nisi. 
 	<p class="typemachine">
	    Etiam libero velit, porttitor ut lobortis ut, suscipit eget ante. Aenean et tortor vitae libero consectetur interdum a quis erat. Pellentesque eget tellus purus, vitae rhoncus neque. Vivamus in tortor tortor. Suspendisse id magna quis eros varius ullamcorper ac at metus. Pellentesque sit amet purus ac lacus commodo sollicitudin. Vestibulum non tempus erat. Phasellus malesuada facilisis viverra.
   	<strong class="typemachine">
      Best regards


                body{ padding:5%; margin:0 auto; background: #EEEEDD; font-size:20px;}
	.typemachine{ font-family:'Cutive Mono','Courier New';}
	.typemachine span{ padding-right:10px; display:inline-block;}


                $(document).ready(function(e) {
			 $(".typemachine").each(function (index) {
				var words = $(this).html();
				var Vwords=words.split(" ");
				var content = ""
				for(i=0;i<Vwords.length - 1;i++){
						var degrees = Math.floor((Math.random()*-3)+2);
						if (degrees==0){
							degrees = Math.floor((Math.random()*0)-2);
						var shadow
						var lettertspacing = Math.floor((Math.random()*5)+0);
						content= content + "<span style='transform:rotateZ("+degrees+"deg);  letter-spacing:"+lettertspacing+"px;'>"+Vwords[i]+"</span>"