Team:UCLA/Template/CSS test

From 2014.igem.org

(Difference between revisions)
Line 470: Line 470:
background-repeat:no-repeat;
background-repeat:no-repeat;
background-position:center;
background-position:center;
 +
position: relative;
 +
}
 +
.slider img{
 +
width:800px;
 +
height:350px;
 +
display:none;
 +
}
 +
.slider_nav{
 +
width:800px;
 +
margin:0 auto;
 +
position:relative;
 +
top:-200px;
 +
z-index:10;
}
}
.shadow{
.shadow{
Line 479: Line 492:
margin:0px auto;
margin:0px auto;
}
}
-
.slider img{
+
 
-
width:800px;
+
#container {
-
height:350px;
+
    width: 100px;
-
display:none;
+
    height: 100px;
 +
    position: relative;
 +
}
 +
 
 +
#navi,
 +
#infoi {
 +
    width: 100%;
 +
    height: 100%;
 +
    position: absolute;
 +
    top: 0;
 +
    left: 0;
 +
}
 +
 
 +
#infoi {
 +
    z-index: 10;
}
}
</style>
</style>
</html>
</html>

Revision as of 23:16, 15 September 2014