Difference between revisions of "Team:Melbourne"

Line 26: Line 26:
  
  
#header_img{
+
div.imgfill {
max-height:500px;
+
  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;
 
}
 
}
  
#main_content{
+
</style>
    background: yellow;
+
    position: absolute;
+
    top: 50%;
+
    left: 50%;
+
    margin-right: -50%;
+
    transform: translate(-50%, -50%)
+
  
}
 
  
  
.fill {
 
    overflow: hidden;
 
    background-size: cover;
 
    background-position: center;
 
    background-image: url("https://static.igem.org/mediawiki/2018/b/b0/T--Melbourne--header_img.png");
 
}
 
  
</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>
  
 
 
<body>
 
 
<div class="fill">
 
<div class="fill">
 
</div>
 
</div>

Revision as of 06:11, 12 October 2018

This might be some info