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.




                @import "compass/css3";

$accent:   #ec6a4a;
$bg:       #ededed;
$spin:     3; // hover spin class, weee
$speed:    0.75s;

$size:     12em; // scalable

body {  background: $bg; }

.marker { // marker shape
  width: $size;
  height: $size;
  border-radius: 100% 100% 0;
  position: relative;
  box-shadow: ($size * 0.01) ($size * 0.01) ($size * 0.01) rgba(black,0.1);
  top: $size * -0.1;
  @include background(linear-gradient(top right, desaturate(darken($accent,5%),10%) 50%, $accent 50%));
  @include transform(rotate(45deg));
  @include transform-style(preserve-3d);
  @include transition(all 1s);
  .no-flexbox & {margin: 2em auto;}
  &:hover:after { 
    @include animation-play-state(paused, running); 
  &:before, &:after {
    content: "";
    position: absolute;
    display: block;
  &:before { // inner background
    width: ($size * 0.65);
    height: ($size * 0.65);
    border-radius: 100%;
    top: ($size * 0.12);
    left: ($size * 0.12);
    @if $size >= 5 {
      @include background(
        radial-gradient(transparent 43%, $bg 43%, $bg 50%, transparent 50%),
        linear-gradient(top right, lighten($bg,5%) 50%, white 50%)
      border-style: solid;
      border-width: ($size * 0.05);
      border-top-color: desaturate(darken($accent,10%),20%);
      border-right-color: desaturate(darken($accent,10%),20%);
      border-bottom-color: desaturate(darken($accent,7%),20%);
      border-left-color: desaturate(darken($accent,7%),20%);
  @if $size >= 5 { // you can have a dial when you're older
    &:after { //dial
      width: 0;
      height: 0;
      border-style: solid;
      border-width: ($size * 0.05) ($size * 0.148);
      border-right-color: $bg;
      border-top-color: darken($bg,10%);
      border-bottom-color: $accent;
      border-left-color: desaturate(darken($accent,7%),10%);
      top: ($size * 0.45);
      left: ($size * 0.35);
      @include animation(spin $speed);
      @include transform (rotate(100deg) skew(-70deg));
@include keyframes(spin) {
  from {
    @include transform (rotate(100deg + (360 * $spin)) skew(-70deg));


Escape by Carla Corrales

About how I made it:

Cool things:
* Scalable on $size
* Smart when $size < 5em
* Color will adjust on $accent