Team:NCTU Formosa/source/head-index
From 2013.igem.org
(Difference between revisions)
Line 1: | Line 1: | ||
<html> | <html> | ||
- | <style>.effect { | + | <style> |
+ | .effect { | ||
left: 200%; | left: 200%; | ||
} | } | ||
Line 20: | Line 21: | ||
background-size: cover; | background-size: cover; | ||
background-repeat: no-repeat; | background-repeat: no-repeat; | ||
- | height: | + | height: 100%; |
position: relative; | position: relative; | ||
overflow: hidden; | overflow: hidden; | ||
Line 51: | Line 52: | ||
margin: 0 auto; | margin: 0 auto; | ||
position:relative; | position:relative; | ||
- | height: | + | height:100%; |
+ | min-height: 500px; | ||
display:block; | display:block; | ||
} | } | ||
.box { | .box { | ||
display:block; | display:block; | ||
- | position: absolute; | + | //position: absolute; |
width: 100%; | width: 100%; | ||
- | top:150px; | + | height:100%; |
+ | margin-top:150px; | ||
+ | margin-bottom:50px; | ||
left: 0; | left: 0; | ||
color: white; | color: white; |
Revision as of 09:58, 24 October 2013