Team:UCLA/Template/CSS test
From 2014.igem.org
(Difference between revisions)
Samichaels (Talk | contribs) |
Samichaels (Talk | contribs) |
||
(12 intermediate revisions not shown) | |||
Line 467: | Line 467: | ||
overflow:hidden; | overflow:hidden; | ||
margin:0px auto; | margin:0px auto; | ||
- | background-image:url( | + | background-image:url("https://2014.igem.org/File:Loader.gif"); |
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{ | ||
- | background-image:url( | + | background-image:url("https://2014.igem.org/File:Slider-shadow.jpg"); |
background-repeat:no-repeat; | background-repeat:no-repeat; | ||
background-position:top; | background-position:top; | ||
Line 479: | Line 492: | ||
margin:0px auto; | margin:0px auto; | ||
} | } | ||
- | + | ||
- | + | #container { | |
- | + | width: 100px; | |
- | + | height: 100px; | |
+ | position: relative; | ||
+ | } | ||
+ | |||
+ | #navi, | ||
+ | #infoi { | ||
+ | width: 100%; | ||
+ | height: 100%; | ||
+ | position: absolute; | ||
+ | top: 0; | ||
+ | left: 0; | ||
+ | } | ||
+ | |||
+ | #infoi { | ||
+ | z-index: 10; | ||
} | } | ||
</style> | </style> | ||
</html> | </html> |
Latest revision as of 22:03, 16 September 2014