Pen Settings

HTML

CSS

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

JavaScript

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

Packages

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.

Behavior

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

              
                <link href='https://fonts.googleapis.com/css?family=Ubuntu:400,700' rel='stylesheet' type='text/css'>
<div id="hi" class="section" data-is-active="true">
        <div class="hi-content">

            <h1>Hía! It's me, <span class="nedim bold">Nedim</span> <span class="arabaci bold">ARABACI</span></h1>

            <p>
                I'm a <span class="develop bold">develop</span>er who <span class="love bold">love</span>s open <span class="source bold">source!</span>
            </p>

            <div class="info">
                I've been working on <span class="web-development bold">web development</span> for <span class="years bold">5 years</span>.<br> Now in <span class="efabrika bold">Efabrika</span>, I'm <span class="work bold">work</span>ing as a full-time <span class="backend bold">backend</span> & <span class="frontend bold">frontend</span> developer.
            </div>
          <a class="take-a-look" href="http://ned.im">MY PERSONAL PAGE &rarr;</a>
        </div>
    </div>
              
            
!

CSS

              
                .section {
  font-family: "Ubuntu", Helvetica, sans-serif;
  text-align: center;
  margin-top: 80px
}

h1 {
	  font-weight: normal;
	  font-size: 50px;
	  text-shadow: 0 1px 1px rgba(0, 0, 0, .2);
}

.bold, .bold span {
	  font-weight: bold;
}

span.colored {
	  color: #F35064;
	  text-shadow: 0 2px 2px rgba(253,210,215, .1);
}

span.moving-letter {
	  display: inline-block;
	  position: relative;
	  -webkit-transition: all 700ms ease;
	  -moz-transition: all 700ms ease;
	  -o-transition: all 700ms ease;
	  transition: all 700ms ease;
	  cursor: default;
}

.info {
	  line-height: 28px;
}

a.take-a-look {
  margin-top: 20px;
  font-weight: bold;
  display: inline-block;
  border: 1px solid #F35064;
  padding: 6px 18px;
  text-decoration: none;
  color: #F35064;
  -webkit-transition: all 400ms ease;
  -moz-transition: all 400ms ease;
  -o-transition: all 400ms ease;
  transition: all 400ms ease;
}

a.take-a-look:hover {
  background-color: #F35064;
  color: #fff;
  text-shadow: 1px 1px 1px rgba(255, 255, 255, 0.2);
}
              
            
!

JS

              
                !function(){function t(){var t=this;this.sections=[],this.init=function(){this.storeSections(),this.showSection("hi")},this.storeSections=function(){$.each($(".section"),function(n,i){var e=$(i);t.sections[e.attr("id")]=e})},this.showSection=function(t){var n=this.getSection(t);$(".section").on("mouseenter",".moving-letter",function(){$(this).trigger("reset").transition({perspective:"100px",rotateY:"+=360deg"})}),n.find(".hi-content").transition({y:"-=50px",opacity:1},1e3,function(){$.each(n.find("span"),function(t,n){var i=$(n);i.children().andSelf().contents().each(function(){if(3==this.nodeType){var t=$(this);t.replaceWith(t.text().replace(/(\w)/g,"<span class='moving-letter'>$&</span>"))}}),$.each(i.find(".moving-letter"),function(t,n){t++,setTimeout(function(){$(n).addClass("colored").trigger("mouseenter")},t*(10*Math.random()+1)*45)})})})},this.getSection=function(t){return this.sections[t]}}var n=new t;n.init()}();
              
            
!
999px

Console