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


Babel is required to process package imports. If you need a different preprocessor remove all packages first.

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


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.

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.

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 id="text"></div>


                body {
  	background-color: #F3F3F3;
  	height: 100%;
	overflow: hidden;

#text {
	max-width: 80%;
	height: 100%;
	margin: 50vh auto;
	font-family: 'Neurial Grotesk', sans-serif;
	font-weight: bold;
  	font-size: 32px;
  	color: #000;

span {
  	border-right: .05em solid;
  	animation: caret 1s steps(1) infinite;

@keyframes caret {
  	50% {
    	border-color: transparent;



var dataText = [ 
	"Hi there, my name is Louden.",
	"Allow me to to briefly introduce myself.", 
	"I'm a UI designer and I was born and raised in Seattle, WA.", 
	"In addition to web design, I have a background in", 
	"graphic design,",
	"front-end web development,",
	"and typography.",
	"In my spare time, I play basketball and make music.",
	"I'm passionate about snowboarding and surfing.",
	"Don't be a stranger, I'd love to hear from you!",
	"What's your name?"
  // type one text in the typwriter
  // keeps calling itself until the text is finished
  function typeWriter(text, i, fnCallback) {
    // chekc if text isn't finished yet
    if (i < (text.length)) {
      // add next character to h1
     document.getElementById("text").innerHTML = text.substring(0, i+1) +'<span aria-hidden="true"></span>';

      // wait for a while and call this function again for next character
      setTimeout(function() {
        typeWriter(text, i + 1, fnCallback)
      }, 50);
    // text finished, call callback if there is a callback function
    else if (typeof fnCallback == 'function') {
      // call callback after timeout
      setTimeout(fnCallback, 1000);
  // start a typewriter animation for a text in the dataText array
   function StartTextAnimation(i) {
     // check if dataText[i] exists
    if (i < dataText[i].length) {
      // text exists! start typewriter animation
     typeWriter(dataText[i], 0, function(){
       // after callback (and whole text has been animated), start next text
       StartTextAnimation(i + 1);
  // start the text animation