Difference between revisions of "Team:Dalhousie/libraries/css/home"

Line 5: Line 5:
 
   z-index: -1;
 
   z-index: -1;
 
   width: 100%;
 
   width: 100%;
 +
    overflow:hidden;
 +
    display:block;
 +
    height: 360px;
 
}
 
}
  
Line 10: Line 13:
 
     top: 0;
 
     top: 0;
 
     position: fixed;
 
     position: fixed;
}
 
 
#jumbovidtext {
 
    z-index: 1;
 
    padding: 0;
 
    margin: 0;
 
 
}
 
}
  
Line 21: Line 18:
 
margin: 0;
 
margin: 0;
 
padding: 0;
 
padding: 0;
 +
background-color:white;
 
}
 
}
  
Line 27: Line 25:
 
     top: 0;
 
     top: 0;
 
   }
 
   }
 
 
#bg-video {
 
    top: 0px;
 
    left: 0px;
 
    position: absolute;
 
    width: 100%;
 
}
 

Revision as of 19:59, 13 June 2017

  1. bg-video {
   top: 0px;
   left: 0px;
 position: fixed;
 z-index: -1;
 width: 100%;
   overflow:hidden;
   display:block;
   height: 360px;

}

.sticky {

   top: 0;
   position: fixed;

}

.nav { margin: 0; padding: 0; background-color:white; }

  1. sticky-element.sticky {
    position: fixed;
    top: 0;
 }