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

Line 38: Line 38:
 
     background-color: #BFFFF3;
 
     background-color: #BFFFF3;
 
     top: 0;
 
     top: 0;
     position: -webkit-sticky;
+
      
 
     position: sticky;
 
     position: sticky;
 
}
 
}

Revision as of 20:25, 13 June 2017

body, html{

  margin: 0; 

padding:0; }

  1. nav, .nav-wrapper {
 height:100px;
   background: gray;

}

.stick {

 position:fixed;
 top:0px;
 width: 100%;

}

video { position: absolute; min-width: 100%; z-index:-1; }

.header {

   height: 100px;
   background-color: #ddcbaf;
   text-align: center;

}

.header h1 {

   margin-top: 0;
   padding-top: 20px;

}

.something {

   margin: 0;
   padding: 0;
   width: 100%;
   background-color: #BFFFF3;
   top: 0;
   
   position: sticky;

}

.something li {

   display: inline-block;
   text-align: center;
   width: 25%;

}

.something li:hover, .something li:focus {

   background-color: #66FFE3;

}

.something a {

   display: block;
   padding: 10px 0;
   text-decoration: none;

}

.sticky {

   top: 0;
   position: fixed;

}

.container {

 padding: 0 20px;
 color: #989898;

}

.text{

z-index:2;

position:relative; }