Difference between revisions of "Team:Tuebingen/Art and Design"

Line 54: Line 54:
 
img.style.cssText = 'background-size:contain;height:150px;';
 
img.style.cssText = 'background-size:contain;height:150px;';
 
div.style.cssText = 'height:150px;float:left;width:100px;display:none;perspective:400px;margin:20px;';
 
div.style.cssText = 'height:150px;float:left;width:100px;display:none;perspective:400px;margin:20px;';
img.src = imgURLs[i];
+
img.style.backgroundImage = 'url('+imgURLs[i]+')';
 
div.appendChild(img);
 
div.appendChild(img);
 
div.image = img;
 
div.image = img;

Revision as of 14:40, 18 September 2015

<
>


Supercellfie Ironcell Culk Thor Cellson Yeasteye Captain Cellmerica Black Cellow