cssAudio - Activefile-genericCSS - ActiveGeneric - ActiveHTML - ActiveImage - ActiveJS - ActiveSVG - ActiveText - Activefile-genericVideo - ActiveLovehtmlicon-new-collectionicon-personicon-teamlog-outoctocatpop-outspinnerstartv

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

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

Code Indentation


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.

              <div id=box1 data-varsity></div>
<div id=box2 data-varsity></div>
<div id=box3 data-varsity></div>
<div id=box4 data-varsity></div>
<div id=box5 data-varsity></div>
<div id=box6 data-varsity></div>
<div id=box7 data-varsity></div>
<div id=box8 data-varsity></div>
<div id=box9 data-varsity></div>
<div id=box10 data-varsity></div>
<div id=box11 data-varsity></div>
<div id=box12 data-varsity></div>
<div id=box13 data-varsity></div>
<div id=box14 data-varsity></div>
<div id=box15 data-varsity></div>
<div id=box16 data-varsity></div>
<div id=box17 data-varsity></div>
<div id=box18 data-varsity></div>
<div id=box19 data-varsity></div>
<div id=box20 data-varsity></div>
<div id=box21 data-varsity></div>
<div id=box22 data-varsity></div>
<div id=box23 data-varsity></div>
<div id=box24 data-varsity></div>
<div id=box25 data-varsity></div>
              * {
  box-sizing: border-box;
body {
  margin: 0;
div {
  float: left;
  width: calc(100vw / 11);
  height: calc(100vh / 11);
  margin: calc(100vh / 11) 0 0 calc(100vw / 11);
@for $i from 1 through 25 {
  #box#{$i} {
      calc( ( var(--box#{$i}-offsetLeft) + var(--box#{$i}-offsetWidth) / 2 - var(--cursorX) ) / 50 * 1px)
      calc( ( var(--box#{$i}-offsetTop)  + var(--box#{$i}-offsetHeight) /2 - var(--cursorY) ) / 50 * 1px)

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