Difference between revisions of "Team:East Chapel Hill/Team"

Line 9: Line 9:
 
.parallax {
 
.parallax {
 
background-image: url(https://static.igem.org/mediawiki/2018/0/02/T--East_Chapel_Hill--ECHHSMEETHETEAMP1.jpg);
 
background-image: url(https://static.igem.org/mediawiki/2018/0/02/T--East_Chapel_Hill--ECHHSMEETHETEAMP1.jpg);
 +
  /* Set a specific height */
 +
    min-width: 100%;
 +
    min-height: 50%; 
 +
    height: 500px;
 +
    width: 100%;
 +
   
 +
 +
 +
   
 +
 +
    /* Create the parallax scrolling effect */
 +
    background-attachment: fixed;
 +
    background-position: center;
 +
    background-repeat: no-repeat;
 +
    background-size: cover;
 +
}
 +
 +
img {
 +
    max-width: 100%;
 +
    height: auto;
 +
    width: auto\9; /* ie8 */
 +
}
  
 
</style>
 
</style>
 
</head>
 
</head>

Revision as of 01:58, 16 September 2018