Pen Settings

CSS Base

Vendor Prefixing

Add External CSS

These stylesheets will be added in this order and before the code you write in the CSS editor. You can also add another Pen here, and it will pull the CSS from it. Try typing "font" or "ribbon" below.

Quick-add: + add another resource
via CSS Lint

Add External JavaScript

These scripts will run in this order and before the code in the JavaScript editor. You can also link to another Pen here, and it will run the JavaScript from it. Also try typing the name of any popular library.

Quick-add: + add another resource
via JS Hint

Code Indentation


Save Automatically?

If active, Pens will autosave every 30 seconds after being saved once.

Want a Run Button?

If active, the preview will update automatically when you change code.


              <h1>Mad Skills</h1>
<ul class="skills">
  <li class="skill" aria-label="advanced">Bow Staff</li>
  <li class="skill" aria-label="novice">Computer Hacking</li>
  <li class="skill" aria-label="pro">Masculinity</li>
  <li class="skill" aria-label="average">Attractiveness</li>
  <li class="skill" aria-label="l33tasuar">Making skills bars with SASS</li>


              @import "bourbon";

// ------------ START Boring stuff
@import url(http://fonts.googleapis.com/css?family=Lato);

$green: #2ea994;

body {
  font-family: 'Lato', Arial, sans-serif;
  background: #13171b;
  color: white;
  text-align: center;

.h1 {
    font-size: 30px;

// ------------ END Boring stuff

// ------------ START Fun stuff

.skills {
  list-style: none;
  font-size: 20px;
  padding: 0;
  .skill {
    display: block;
			    position: relative; // For positioning bar pseudo elements
			    height: 60px;
			    margin: 10px auto;
    width: 90%;
    @media only screen and (min-width: 900px) {
      display: inline-block;
			      width: percentage(1/4);
      margin: 10px;
    &:after {
      content: "";
      position: absolute;
      border-radius: 20px;
      margin-top: 40px;
    &:before {
      top: 0;
      right: 0;
      bottom: 0;
      left: 0;
      height: 20px;
      background: #eeeeee;
    &:after {
      background-color: $green;
      background: repeating-linear-gradient(-45deg, $green, $green 10px, lighten($green, 3) 10px, lighten($green, 3) 20px);
      height: 16px; 
      top: 2px;
      right: 95%;
      bottom: 2px;
      left: 2px;
      @include animation(fill 2s both);
    @for $i from 1 through 5 {
      					&:nth-child(#{$i}):after {
          @include animation-delay(#{$i * 0.5}s);
    &[aria-label="novice"]:after {
      right: 75%;
    &[aria-label="average"]:after {
      right: 50%;
    &[aria-label="adept"]:after {
      right: 35%;
    &[aria-label="advanced"]:after {
      right: 20%;
    &[aria-label="elite"]:after {
      right: 10%;
    &[aria-label="pro"]:after {
      right: 2px;
    &[aria-label="l33tasuar"]:after {
      // turn it up to 11!
      right: -10%;

@include keyframes(fill) {
  from {
    right: 100%;

// ------------ END Fun stuff



No js - Altough it would be a good idea to add waypoints if the skills are out of the viewport on initial load so that nobody misses out on the animation.


Asset uploading is a PRO feature.

As a PRO member, you can drag-and-drop upload files here to use as resources. Images, Libraries, JSON data... anything you want. You can even edit them anytime, like any other code on CodePen.


Loading ..................