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.


                //-- [1] Pick a number, any number -------
-@n = 6;
//-- [2] Update the number in the CSS
//-- This is old fashion interactive *<|:^) 
  -@n.times do | i |


                //-- [3] Oh hey! You made it! Match the number here:
$n: 6;
//-- These things are neat to change, too...
$s: 50vmin;    // size of the snowflake
$w: 0.05em;   // width of each spindle
$c: rgba(#F1F1F1, .5);  // color of each spindle
$c2: lighten($c, 10%);
$bg: #7DA7D9;  // background

*:before { 
  box-sizing: border-box; 

html, body {
  width: 100%;
  height: 100%;

body {
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translate3d(0, 0, 0);

body { 
  background: linear-gradient(to bottom right, $bg, adjust-hue($bg,25deg));

.snowflake {
  position: relative;
  font-size: 300px; // fallback
  font-size: $s;

.spindle {
  background: $c;
  border-radius: 1em;
  height: 1em; 
  left: $w * -.5;
  position: absolute;
  top: -.5em; 
  width: $w;

  &:after {
    border: .01em dotted;
    content: '';
    position: absolute;
    background: transparent;
    display: block;
    color: $c;
  &:before {
    width: .05em;
    height: .05em;
    border-radius: 100%;
    left: .22em;
    top: .1em;
      -.025em -.05em 0 -.01em rgba($c, .3),
      -.055em -.075em 0 -.015em rgba($c, .2),
      -.085em -.08em 0 -.02em rgba($c, .1)
  &:after {
    border-radius: 100% 50% 20%;
    width: .2em;
    height: .2em;
    transform: rotate(45deg);
    top: .77em;
    left: -.075em;
      -.05em -.05em 0 -.03em rgba($c, .9),
      -.1em -.1em 0 -.035em rgba($c, .6),
      -.15em -.15em 0 -.04em rgba($c, .3),
      -.2em -.2em 0 -.05em rgba($c, .1)

  @for $i from 1 through $n {
    &:nth-child(#{$i}) {
      transform: rotate( (360/$n) * $i + deg);



                // See Snowflaker 2015: 
// ***************************************************
// See Snowflaker 2014: