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

Line 53: Line 53:
 
var img = document.createElement('div');
 
var img = document.createElement('div');
 
img.style.cssText = 'background-size:contain;height:150px;background-repeat:no-repeat;';
 
img.style.cssText = 'background-size:contain;height:150px;background-repeat:no-repeat;';
div.style.cssText = 'height:150px;float:left;width:100px;display:none;perspective:400px;margin:20px;';
+
div.style.cssText = 'height:150px;display:inline-block;width:100px;display:none;perspective:400px;margin:20px;';
 
img.style.backgroundImage = 'url('+imgURLs[i]+')';
 
img.style.backgroundImage = 'url('+imgURLs[i]+')';
 
div.appendChild(img);
 
div.appendChild(img);

Revision as of 14:43, 18 September 2015

<
>


Supercellfie Ironcell Culk Thor Cellson Yeasteye Captain Cellmerica Black Cellow