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 Stylesheets/Pens

Any URL's added here will be added as <link>s in order, and before the CSS in the editor. If you link to another Pen, it will include the CSS from that Pen. If the preprocessor matches, it will attempt to combine them before processing.

+ add another resource

You're using npm packages, so we've auto-selected Babel for you here, which we require to process imports and make it all work. If you need to use a different JavaScript preprocessor, remove the packages in the npm tab.

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

Use npm Packages

We can make npm packages available for you to use in your JavaScript. We use webpack to prepare them and make them available to import. We'll also process your JavaScript with Babel.

⚠️ This feature can only be used by logged in users.

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);
}

#box1 {
  box-shadow: rgba(0, 0, 0, 0.3) calc( ( var(--box1-offsetLeft) + var(--box1-offsetWidth) / 2 - var(--cursorX) ) / 50 * 1px) calc( ( var(--box1-offsetTop)  + var(--box1-offsetHeight) /2 - var(--cursorY) ) / 50 * 1px) 1vh;
}

#box2 {
  box-shadow: rgba(0, 0, 0, 0.3) calc( ( var(--box2-offsetLeft) + var(--box2-offsetWidth) / 2 - var(--cursorX) ) / 50 * 1px) calc( ( var(--box2-offsetTop)  + var(--box2-offsetHeight) /2 - var(--cursorY) ) / 50 * 1px) 1vh;
}

#box3 {
  box-shadow: rgba(0, 0, 0, 0.3) calc( ( var(--box3-offsetLeft) + var(--box3-offsetWidth) / 2 - var(--cursorX) ) / 50 * 1px) calc( ( var(--box3-offsetTop)  + var(--box3-offsetHeight) /2 - var(--cursorY) ) / 50 * 1px) 1vh;
}

#box4 {
  box-shadow: rgba(0, 0, 0, 0.3) calc( ( var(--box4-offsetLeft) + var(--box4-offsetWidth) / 2 - var(--cursorX) ) / 50 * 1px) calc( ( var(--box4-offsetTop)  + var(--box4-offsetHeight) /2 - var(--cursorY) ) / 50 * 1px) 1vh;
}

#box5 {
  box-shadow: rgba(0, 0, 0, 0.3) calc( ( var(--box5-offsetLeft) + var(--box5-offsetWidth) / 2 - var(--cursorX) ) / 50 * 1px) calc( ( var(--box5-offsetTop)  + var(--box5-offsetHeight) /2 - var(--cursorY) ) / 50 * 1px) 1vh;
}

#box6 {
  box-shadow: rgba(0, 0, 0, 0.3) calc( ( var(--box6-offsetLeft) + var(--box6-offsetWidth) / 2 - var(--cursorX) ) / 50 * 1px) calc( ( var(--box6-offsetTop)  + var(--box6-offsetHeight) /2 - var(--cursorY) ) / 50 * 1px) 1vh;
}

#box7 {
  box-shadow: rgba(0, 0, 0, 0.3) calc( ( var(--box7-offsetLeft) + var(--box7-offsetWidth) / 2 - var(--cursorX) ) / 50 * 1px) calc( ( var(--box7-offsetTop)  + var(--box7-offsetHeight) /2 - var(--cursorY) ) / 50 * 1px) 1vh;
}

#box8 {
  box-shadow: rgba(0, 0, 0, 0.3) calc( ( var(--box8-offsetLeft) + var(--box8-offsetWidth) / 2 - var(--cursorX) ) / 50 * 1px) calc( ( var(--box8-offsetTop)  + var(--box8-offsetHeight) /2 - var(--cursorY) ) / 50 * 1px) 1vh;
}

#box9 {
  box-shadow: rgba(0, 0, 0, 0.3) calc( ( var(--box9-offsetLeft) + var(--box9-offsetWidth) / 2 - var(--cursorX) ) / 50 * 1px) calc( ( var(--box9-offsetTop)  + var(--box9-offsetHeight) /2 - var(--cursorY) ) / 50 * 1px) 1vh;
}

#box10 {
  box-shadow: rgba(0, 0, 0, 0.3) calc( ( var(--box10-offsetLeft) + var(--box10-offsetWidth) / 2 - var(--cursorX) ) / 50 * 1px) calc( ( var(--box10-offsetTop)  + var(--box10-offsetHeight) /2 - var(--cursorY) ) / 50 * 1px) 1vh;
}

#box11 {
  box-shadow: rgba(0, 0, 0, 0.3) calc( ( var(--box11-offsetLeft) + var(--box11-offsetWidth) / 2 - var(--cursorX) ) / 50 * 1px) calc( ( var(--box11-offsetTop)  + var(--box11-offsetHeight) /2 - var(--cursorY) ) / 50 * 1px) 1vh;
}

#box12 {
  box-shadow: rgba(0, 0, 0, 0.3) calc( ( var(--box12-offsetLeft) + var(--box12-offsetWidth) / 2 - var(--cursorX) ) / 50 * 1px) calc( ( var(--box12-offsetTop)  + var(--box12-offsetHeight) /2 - var(--cursorY) ) / 50 * 1px) 1vh;
}

#box13 {
  box-shadow: rgba(0, 0, 0, 0.3) calc( ( var(--box13-offsetLeft) + var(--box13-offsetWidth) / 2 - var(--cursorX) ) / 50 * 1px) calc( ( var(--box13-offsetTop)  + var(--box13-offsetHeight) /2 - var(--cursorY) ) / 50 * 1px) 1vh;
}

#box14 {
  box-shadow: rgba(0, 0, 0, 0.3) calc( ( var(--box14-offsetLeft) + var(--box14-offsetWidth) / 2 - var(--cursorX) ) / 50 * 1px) calc( ( var(--box14-offsetTop)  + var(--box14-offsetHeight) /2 - var(--cursorY) ) / 50 * 1px) 1vh;
}

#box15 {
  box-shadow: rgba(0, 0, 0, 0.3) calc( ( var(--box15-offsetLeft) + var(--box15-offsetWidth) / 2 - var(--cursorX) ) / 50 * 1px) calc( ( var(--box15-offsetTop)  + var(--box15-offsetHeight) /2 - var(--cursorY) ) / 50 * 1px) 1vh;
}

#box16 {
  box-shadow: rgba(0, 0, 0, 0.3) calc( ( var(--box16-offsetLeft) + var(--box16-offsetWidth) / 2 - var(--cursorX) ) / 50 * 1px) calc( ( var(--box16-offsetTop)  + var(--box16-offsetHeight) /2 - var(--cursorY) ) / 50 * 1px) 1vh;
}

#box17 {
  box-shadow: rgba(0, 0, 0, 0.3) calc( ( var(--box17-offsetLeft) + var(--box17-offsetWidth) / 2 - var(--cursorX) ) / 50 * 1px) calc( ( var(--box17-offsetTop)  + var(--box17-offsetHeight) /2 - var(--cursorY) ) / 50 * 1px) 1vh;
}

#box18 {
  box-shadow: rgba(0, 0, 0, 0.3) calc( ( var(--box18-offsetLeft) + var(--box18-offsetWidth) / 2 - var(--cursorX) ) / 50 * 1px) calc( ( var(--box18-offsetTop)  + var(--box18-offsetHeight) /2 - var(--cursorY) ) / 50 * 1px) 1vh;
}

#box19 {
  box-shadow: rgba(0, 0, 0, 0.3) calc( ( var(--box19-offsetLeft) + var(--box19-offsetWidth) / 2 - var(--cursorX) ) / 50 * 1px) calc( ( var(--box19-offsetTop)  + var(--box19-offsetHeight) /2 - var(--cursorY) ) / 50 * 1px) 1vh;
}

#box20 {
  box-shadow: rgba(0, 0, 0, 0.3) calc( ( var(--box20-offsetLeft) + var(--box20-offsetWidth) / 2 - var(--cursorX) ) / 50 * 1px) calc( ( var(--box20-offsetTop)  + var(--box20-offsetHeight) /2 - var(--cursorY) ) / 50 * 1px) 1vh;
}

#box21 {
  box-shadow: rgba(0, 0, 0, 0.3) calc( ( var(--box21-offsetLeft) + var(--box21-offsetWidth) / 2 - var(--cursorX) ) / 50 * 1px) calc( ( var(--box21-offsetTop)  + var(--box21-offsetHeight) /2 - var(--cursorY) ) / 50 * 1px) 1vh;
}

#box22 {
  box-shadow: rgba(0, 0, 0, 0.3) calc( ( var(--box22-offsetLeft) + var(--box22-offsetWidth) / 2 - var(--cursorX) ) / 50 * 1px) calc( ( var(--box22-offsetTop)  + var(--box22-offsetHeight) /2 - var(--cursorY) ) / 50 * 1px) 1vh;
}

#box23 {
  box-shadow: rgba(0, 0, 0, 0.3) calc( ( var(--box23-offsetLeft) + var(--box23-offsetWidth) / 2 - var(--cursorX) ) / 50 * 1px) calc( ( var(--box23-offsetTop)  + var(--box23-offsetHeight) /2 - var(--cursorY) ) / 50 * 1px) 1vh;
}

#box24 {
  box-shadow: rgba(0, 0, 0, 0.3) calc( ( var(--box24-offsetLeft) + var(--box24-offsetWidth) / 2 - var(--cursorX) ) / 50 * 1px) calc( ( var(--box24-offsetTop)  + var(--box24-offsetHeight) /2 - var(--cursorY) ) / 50 * 1px) 1vh;
}

#box25 {
  box-shadow: rgba(0, 0, 0, 0.3) calc( ( var(--box25-offsetLeft) + var(--box25-offsetWidth) / 2 - var(--cursorX) ) / 50 * 1px) calc( ( var(--box25-offsetTop)  + var(--box25-offsetHeight) /2 - var(--cursorY) ) / 50 * 1px) 1vh;
}
            
          
!
999px
🕑 One or more of the npm packages you are using needs to be built. You're the first person to ever need it! We're building it right now and your preview will start updating again when it's ready.
Loading ..................

Console