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. You can use the CSS from another Pen by using it's URL and the proper URL extention.

+ 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.


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.


                <ul class="chart">
	<li class="axis">
<div class="label">MVP</div>
<div class="label">All Star</div>
<div class="label">Slugger</div>
<div class="label">Rookie</div>
<div class="label">Triple A</div></li>
	<li class="bar teal" style="height: 95%;" title="95">
<div class="percent">95<span>%</span></div>
<div class="skill">Karate</div></li>
	<li class="bar salmon" style="height: 90%;" title="90">
<div class="percent">90<span>%</span></div>
<div class="skill">Taekwondo</div></li>
	<li class="bar peach" style="height: 80%;" title="80">
<div class="percent">80<span>%</span></div>
<div class="skill">Nunchucks</div></li>
	<li class="bar lime" style="height: 75%;" title="75">
<div class="percent">75<span>%</span></div>
<div class="skill">Bow Staff</div></li>
	<li class="bar grape" style="height: 40%;" title="40">
<div class="percent">40<span>%</span></div>
<div class="skill">Suplex</div></li>


                @import "compass/css3";

@import url(,800);


// Color Pallette
$orange:        #ff9e2c;
$gray:          #999;
$grayLight:     lighten($gray, 20%);
$teal:          #4ecdc4;
$salmon:        #ff6b6b;
$lime:          #97f464;
$peach:         lighten($orange, 20%);
$grape:         #ab64f4;

// Calculates REMs out of pixels
@mixin font-size($sizeValue: 16) {
  font-size: $sizeValue + px;
  font-size: ($sizeValue / 16) + rem;
// Media Queries
@mixin bp($point) {
  @if $point == ocean {
    @media (min-width: 1000px) { @content; }
  @else if $point == lake {
    @media (min-width: 700px) { @content; }

  body { font-family: 'Open Sans', sans-serif; }
.chart {
  clear: both;
  padding: 0;
  width: 100%;
  @include bp(lake) {
    background: url("") right top repeat-x;
	  height: 425px;
	  margin: 0 auto emCalc(-32px);
  li {
    display: block;
    height: 125px;
    padding: emCalc(25px) 0;
    position: relative;
    text-align: center;
    vertical-align: bottom;
    @include border-radius(4px 4px 0 0);
    @include box-shadow(inset 0 1px 0 0 rgba(255,255,255,.6));
    @include bp(lake) {
      display: inline-block;
      height: 425px;
	    margin: 0 1.8% 0 0;
	    width: 15%;
  .axis { 
    display: none;
    top: emCalc(-45px);
    width: 8%;
    @include bp(lake) {
      display: inline-block;
  .label {
    background: $grayLight;
    margin: -9px 0 71px 0;
  .percent {
    letter-spacing: -3px;
    opacity: .4;
    width: 100%;
    @include font-size(30);
    @include bp(lake) {
      position: absolute;
      @include font-size(62);
    span {
      @include font-size(30);
  .skill {
    font-weight: 800;
    opacity: .5;
    overflow: hidden;
    text-transform: uppercase;
    width: 100%;
    @include font-size(14);
    @include bp(lake) {
      bottom: 20px;
      position: absolute;
      @include font-size(16);
  .teal { 
    background: $teal;
    border: 1px solid $teal;
    @include background-image(linear-gradient(lighten($teal, 10%), $teal 70%));
  .salmon { 
    background: $salmon; 
    border: 1px solid $salmon;
    @include background-image(linear-gradient(lighten($salmon, 10%), $salmon 70%));
  .lime { 
    background: $lime;
    border: 1px solid $lime;
    @include background-image(linear-gradient(lighten($lime, 10%), $lime 70%));
  .peach { 
    background: $peach;
    border: 1px solid $peach;
    @include background-image(linear-gradient(lighten($peach, 10%), $peach 70%));
  .grape { 
    background: $grape;
    border: 1px solid $grape;
    @include background-image(linear-gradient(lighten($grape, 10%), $grape 70%));