Template:Team:Macquarie Australia/Phototest1
From 2013.igem.org
(Difference between revisions)
Line 20: | 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: | + | background-position: center 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 00:04, 25 August 2013