KevinVergara (Talk | contribs) |
KevinVergara (Talk | contribs) |
||
Line 3: | Line 3: | ||
<style> | <style> | ||
− | + | bg { | |
− | + | position: fixed; | |
− | + | top: -50%; | |
+ | left: -50%; | ||
+ | width: 200%; | ||
+ | height: 200%; | ||
+ | } | ||
+ | bg img { | ||
+ | position: absolute; | ||
+ | top: 0; | ||
+ | left: 0; | ||
+ | right: 0; | ||
+ | bottom: 0; | ||
+ | margin: auto; | ||
+ | min-width: 50%; | ||
+ | min-height: 50%; | ||
} | } | ||
</style> | </style> | ||
<body> | <body> | ||
+ | <div id="bg"> | ||
+ | <img src="https://static.igem.org/mediawiki/2017/2/20/T--UChile_OpenBio-CeBiB--Fondo1.jpg" alt=""> | ||
+ | </div> | ||
</body> | </body> | ||
</html> | </html> |
Revision as of 11:54, 17 October 2017