Pen Settings

HTML

CSS

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

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

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.

HTML

              
                <div class="container">
  <h1>Programming Skills</h1>
  <h3>Hover your mouse over any of the bars</h3>

  <div class="wrap">
    <p>HTML</p>
    <div class="bar html delay-html"><span>90%</span></div>
  </div>

  <div class="wrap">
    <p>CSS</p>
    <div class="bar css delay-css"><span>85%</span></div>
  </div>

  <div class="wrap">
    <p>JavaScript</p>
    <div class="bar js delay-js"><span>55%</span></div>
  </div>

  <div class="wrap">
    <p>jQuery</p>
    <div class="bar jquery delay-js"><span>40%</span></div>
  </div>

  <div class="wrap">
    <p>PHP</p>
    <div class="bar php delay-php"><span>63%</span></div>
  </div>
      
  <div class="desc desc-html">
    <h3>HTML - Hypertext Markup Language - HTML5</h3>
    <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Saepe aspernatur ad numquam totam. Inventore reiciendis, autem necessitatibus similique laboriosam deleniti enim itaque rerum alias ab maxime numquam quod harum, odio? Lorem ipsum dolor sit amet, consectetur adipisicing elit. Omnis cum harum cumque nam veniam nisi fugit quod natus nesciunt magni saepe quis animi, tenetur voluptatum. Tempore dolorem dignissimos fugit fugiat! Lorem ipsum dolor sit amet, consectetur adipisicing elit. Officia, mollitia!
  </div>
  
  <div class="desc desc-css">
    <h3>CSS - Cascading Style Sheets - CSS3</h3>
    <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Nulla iusto officia maxime itaque, laboriosam aperiam consequatur autem explicabo molestias. Unde nulla, nobis aperiam nisi molestias, velit voluptate vitae, deleniti quia, eveniet consectetur. Architecto assumenda doloremque cum odio impedit, aspernatur ipsum nobis sit autem! Laborum, itaque?
  </div>
  
  <div class="desc desc-js">
    <h3>JavaScript</h3>
    <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Assumenda laborum amet libero at officiis porro placeat delectus ut incidunt, numquam quas dicta dolorem molestiae et alias dolore. Eveniet vitae blanditiis ut numquam!
  </div>
  
  <div class="desc desc-jquery">
    <h3>jQuery</h3>
    <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Officia voluptate non hic, repellendus impedit nobis maxime nesciunt, placeat iste dolores! Obcaecati soluta labore perferendis cupiditate molestiae assumenda molestias voluptas corrupti quas tempora placeat, rem, sit deserunt autem eligendi, est eaque!
  </div>
  
  <div class="desc desc-php">
    <h3>PHP</h3>
    <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Unde sint, consequatur placeat consequuntur! Adipisci officiis expedita possimus, soluta nobis provident ratione alias, necessitatibus accusantium reiciendis?
  </div>
  
</div>
              
            
!

CSS

              
                body {
  background: #222;
  padding-top: 50px;
  font: 1em/1.4 sans-serif
}

h1 {
  text-align: center;
  color: #f2f2f2;
  margin: 0 auto;
  font-weight: normal;
}

h3 {
  text-align: center;
  margin: 10px auto;
  color: #888;
  font-weight: normal;
}

.wrap p {
  position: absolute;
  font: .8em sans-serif;
  top: 50%;
  left: 20px;
  margin: 0 auto;
  color: #000;
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  transform: translateY(-50%);
  letter-spacing: 1px;
}

.wrap {
  position: relative;
  width: 600px;
  height: 30px;
  margin: 25px auto;
  padding: 0;
  background: #444;
  border-radius: 5px;
  -webkit-transition: .5s ease;
  -moz-transition: .5s ease;
  -o-transition: .5s ease;
  transition: .5s .15s ease;
}

.bar {
  height: 30px;
  border-radius: 5px;
  transition: .25s ease;
}

.wrap:hover .bar {
  background: rgba(255,255,255, 1);
  cursor: pointer;
}

.wrap:hover {
  width: 600px;
  background: #555;
}

.html {
  width: 90%;
  background: steelblue;
  -webkit-animation: html 2.5s;
  -moz-animation: html 2.5s;
  -o-animation: html 2.5s;
  animation: html 2.5s;
}

.css {
  width: 85%;
  background: gold;
  -webkit-animation: css 2s;
  -moz-animation: css 2s;
  -o-animation: css 2s;
  animation: css 2s;
}

.jquery {
  width: 55%;
  background: #F1C;
  -webkit-animation: jquery 2.1s;
  -moz-animation: jquery 2.1s;
  -o-animation: jquery 2.1s;
  animation: jquery 2.1s;
  
}

.js{
  width: 40%;
  background: crimson;
  -webkit-animation: js 1.8s;
  -moz-animation: js 1.8s;
  -o-animation: js 1.8s;
  animation: js 1.8s;
}

.php{
  width: 63%;
  background: limegreen;
  -webkit-animation: php 2.9s;
  -moz-animation: php 2.9s;
  -o-animation: php 2.9s;
  animation: php 2.9s;
}

.wrap span {
  display: block;
  float: right;
  padding-right: 15px;
  color: #222;
  line-height: 30px;
  -webkit-animation: span 2s 1.7s forwards;
  -moz-animation: span 2s 1.7s forwards;
  -o-animation: span 2s 1.7s forwards;
  animation: span 2s 1.7s forwards;
  opacity: 0;
}

.desc {
  display: none;
  box-sizing: border-box;
  padding: 10px;
  width: 600px;
  background: #333;
  border-radius: 10px;
  margin: 0 auto;
}

.desc p {
  color: white;
  margin: 0 auto;
}

/* Keyframes
-------------------- */


/* html
--------- */
@-webkit-keyframes html {
  from { width:  0%; }
  to   { width: 90%; }
}
@-moz-keyframes html {
  from { width:  0%; }
  to   { width: 90%; }
}
@-o-keyframes html {
  from { width:  0%; } 
  to { width:   90%; }
}
@keyframes html {
  from { width:  0%; } 
  to { width:   90%; }
}

/* css
--------- */
@-webkit-keyframes css {
  from { width:  0%; }
  to   { width: 85%; }
}
@-moz-keyframes css {
  from { width:  0%; }
  to   { width: 85%; }
}
@-o-keyframes css {
  from { width:  0%; }
  to   { width: 85%; }
}
@keyframes css {
  from { width:  0%; }
  to   { width: 85%; }
}

/* jquery
--------- */
@-webkit-keyframes jquery {
  from { width:  0%; }
  to   { width: 55%; }
}
@-moz-keyframes jquery {
  from { width:  0%; }
  to   { width: 55%; }
}
@-o-keyframes jquery {
  from { width:  0%; }
  to   { width: 55%; }
}
@keyframes jquery {
  from { width:  0%; }
  to   { width: 55%; }
}

/* js
--------- */
@-webkit-keyframes js {
  from { width:  0%; }
  to   { width: 40%; }
}
@-moz-keyframes js {
  from { width:  0%; }
  to   { width: 40%; }
}
@-o-keyframes js {
  from { width:  0%; }
  to   { width: 40%; }
}
@keyframes js {
  from { width:  0%; }
  to   { width: 40%; }
}

/* php
--------- */
@-webkit-keyframes php{
  from { width:  0%; }
  to   { width: 63%; }
}
@-moz-keyframes php{
  from { width:  0%; }
  to   { width: 63%; }
}
@-o-keyframes php{
  from { width:  0%; }
  to   { width: 63%; }
}
@keyframes php{
  from { width:  0%; }
  to   { width: 63%; }
}


@-webkit-keyframes span {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@-moz-keyframes span {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@-o-keyframes span {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes span {
  from { opacity: 0; }
  to   { opacity: 1; }
}
              
            
!

JS

              
                $(document).ready(function(){
  $('.html').mouseover(function(){
    $('.desc-html').css('display','block');
  $('.html').mouseout(function(){
    $('.desc-html').css('display','none');
  	});
  });
  
  $('.css').mouseover(function(){
    $('.desc-css').css('display','block');
  $('.css').mouseout(function(){
    $('.desc-css').css('display','none');
  	});
  });
  
  $('.js').mouseover(function(){
    $('.desc-js').css('display','block');
  $('.js').mouseout(function(){
    $('.desc-js').css('display','none');
  	});
  });
  
  $('.jquery').mouseover(function(){
    $('.desc-jquery').css('display','block');
  $('.jquery').mouseout(function(){
    $('.desc-jquery').css('display','none');
  	});
  });
  
  $('.php').mouseover(function(){
    $('.desc-php').css('display','block');
  $('.php').mouseout(function(){
    $('.desc-php').css('display','none');
  	});
  });
});
              
            
!
999px

Console