Line 26: | Line 26: | ||
− | + | div.imgfill { | |
− | + | float: left; | |
− | + | position: relative; | |
+ | background-repeat: no-repeat; | ||
+ | background-position: 50% 50%; | ||
+ | background-size: cover; | ||
+ | width: 33.333%; | ||
+ | height: 18vw; | ||
+ | border: 1px solid black; /*frame of the image*/ | ||
+ | margin: -1px; | ||
} | } | ||
− | + | </style> | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | < | + | <body> |
+ | <div class="imgfill" style="background-image:url(https://static.igem.org/mediawiki/2018/b/b0/T--Melbourne--header_img.png);"> | ||
+ | This might be some info | ||
+ | </div> | ||
− | |||
− | |||
− | |||
<div class="fill"> | <div class="fill"> | ||
</div> | </div> |
Revision as of 06:11, 12 October 2018
This might be some info