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

Line 30: Line 30:
 
var div = document.createElement('div');
 
var div = document.createElement('div');
 
var img = document.createElement('div');
 
var img = document.createElement('div');
img.style.cssText = 'background-size:contain;height:30px;background-repeat:no-repeat;background-position:center;background-color:black;';
+
img.style.cssText = 'background-size:contain;height:300px;background-repeat:no-repeat;background-position:center;background-color:black;';
 
div.style.cssText = 'height:300px;display:inline;width:240px;display:none;perspective:400px;position:absolute;top:0px;left:50%;';
 
div.style.cssText = 'height:300px;display:inline;width:240px;display:none;perspective:400px;position:absolute;top:0px;left:50%;';
 
img.style.backgroundImage = 'url('+imgURLs[i]+')';
 
img.style.backgroundImage = 'url('+imgURLs[i]+')';

Revision as of 15:14, 18 September 2015

<
>