Difference between revisions of "Team:BostonU/Collaborations"

Line 33: Line 33:
 
                     y = event.clientY;                     
 
                     y = event.clientY;                     
 
                     if ( typeof x !== 'undefined' ){
 
                     if ( typeof x !== 'undefined' ){
                         bsDiv.style.left = x-5 + "px";
+
                         bsDiv.style.left = x-20 + "px";
                         bsDiv.style.top = y-5 + "px";
+
                         bsDiv.style.top = y-20 + "px";
 
                     }
 
                     }
 
                 }, false);
 
                 }, false);
Line 41: Line 41:
 
     </head>
 
     </head>
 
     <body>
 
     <body>
 +
        <div style = "width:1000px; height:1000px;">
 
         <div id="box-shadow-div"></div>
 
         <div id="box-shadow-div"></div>
 +
        </div>
 
     </body>
 
     </body>
 
</html>
 
</html>

Revision as of 19:46, 4 August 2016

box-shadow-experiment