Difference between revisions of "Team:Tec-Monterrey/sandbox"

m
m
Line 65: Line 65:
 
   width: 100%;
 
   width: 100%;
 
   height: 100vh;
 
   height: 100vh;
  top: 600vh;
 
 
   float: left;
 
   float: left;
 
   position: sticky;
 
   position: sticky;
Line 209: Line 208:
  
 
     <script>
 
     <script>
 +
 +
  var hiding = document.getElementById("hiding-block");
 +
  var hidingPos = hiding.offsetTop;
 +
  var bacteriaPos = document.getElementById("hiding-block").offsetTop;
 +
 
 +
  window.alert(hidingPos);
 +
  window.alert(bacteriaPos);
 +
 
           var screen_900 = window.matchMedia("(max-width: 900px)");
 
           var screen_900 = window.matchMedia("(max-width: 900px)");
 
           var screen_1024 = window.matchMedia("(min-width: 1024px)");
 
           var screen_1024 = window.matchMedia("(min-width: 1024px)");

Revision as of 18:39, 13 October 2018

Skip

E. coding
Tec-Monterrey
Seccion Acevedo Interactive Entertainement System Co. S.A. de C.V. Ind.

Contact Us

Sponsors