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;display:inline;width:100px;display:none;perspective:400px;position:absolute;top:0px;left:50%;';
+
div.style.cssText = 'height:150px;display:inline;width:100px;display:none;perspective:400px;position:absolute;top:0px;left:50%;text-align:center;';
 
img.style.backgroundImage = 'url('+imgURLs[i]+')';
 
img.style.backgroundImage = 'url('+imgURLs[i]+')';
 
div.appendChild(img);
 
div.appendChild(img);

Revision as of 15:01, 18 September 2015

<
>


Supercellfie Ironcell Culk Thor Cellson Yeasteye Captain Cellmerica Black Cellow