Template:Team:Macquarie Australia/Phototest1

From 2013.igem.org

(Difference between revisions)
Line 11: Line 11:
width:975px; /* default dimensions of carousel */
width:975px; /* default dimensions of carousel */
height:250px;
height:250px;
-
background-position: center center;
 
}
}
Line 21: Line 20:
div.slide{ /* CSS for each image's DIV container within main container */
div.slide{ /* CSS for each image's DIV container within main container */
background-color: black;
background-color: black;
-
background-position: center center; /* center image within carousel */
+
background-position: center; /* center image within carousel */
background-repeat: no-repeat;
background-repeat: no-repeat;
background-size: cover; /* CSS3 property to scale image within container? "cover" or "contain" */
background-size: cover; /* CSS3 property to scale image within container? "cover" or "contain" */

Revision as of 07:37, 12 August 2013