Difference between revisions of "Team:UM Macau/Experiments"

(Replaced content with "{{UM_Macau/WikiStripDown}}{{UM_Macau/Bootstrap}}{{UM_Macau/Navbar}}")
Line 1: Line 1:
 
{{UM_Macau/WikiStripDown}}{{UM_Macau/Bootstrap}}{{UM_Macau/Navbar}}
 
{{UM_Macau/WikiStripDown}}{{UM_Macau/Bootstrap}}{{UM_Macau/Navbar}}
 
 
<html>
 
<head>
 
<meta name="viewport" content="width=device-width, initial-scale=1">
 
<style>
 
body, html {
 
  height: 100%;
 
  margin: 0;
 
}
 
 
.bg {
 
  /* The image used */
 
  background-image: url(https://static.igem.org/mediawiki/2019/c/cd/T--UM_Macau--homepicnew1.png);
 
 
  /* Full height */
 
  height: 100%;
 
 
  /* Center and scale the image nicely */
 
  background-position: center;
 
  background-repeat: no-repeat;
 
  background-size: cover;
 
}
 
</style>
 
</head>
 
<body>
 
 
<div class="bg"></div>
 
 
<p>This example creates a full page background image. Try to resize the browser window to see how it always will cover the full screen (when scrolled to top), and that it scales nicely on all screen sizes.</p>
 
 
</body>
 
</html>
 

Revision as of 18:18, 11 October 2019