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.

Quick-add: + add another resource

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.

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} {
    box-shadow:
      rgba(0,0,0,.3)
      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)
      1vh
    ;
  }
}
            
          
!
999px
Loading ..................

Console