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

Line 54: Line 54:
 
img.style.height = '100%;'
 
img.style.height = '100%;'
 
img.style.width = '100%';
 
img.style.width = '100%';
div.style.cssText = 'float:left;width:100px;height:150px;display:none;';
+
div.style.cssText = 'float:left;width:100px;height:150px;display:none;perspective:10px;';
 
img.src = imgURLs[i];
 
img.src = imgURLs[i];
 
div.appendChild(img);
 
div.appendChild(img);
Line 62: Line 62:
 
}
 
}
 
slots[0].style.display = 'block';
 
slots[0].style.display = 'block';
slots[0].style.perspective = '0px';
 
 
slots[0].image.style.transform = 'rotateY(-45deg)';
 
slots[0].image.style.transform = 'rotateY(-45deg)';
 
slots[1].style.display = 'block';
 
slots[1].style.display = 'block';
slots[1].style.perspective = '0px';
 
 
slots[1].image.style.transform = 'rotateY(0deg)';
 
slots[1].image.style.transform = 'rotateY(0deg)';
 
slots[2].style.display = 'block';
 
slots[2].style.display = 'block';
slots[2].style.perspective = '0px';
 
 
slots[2].image.style.transform = 'rotateY(45deg)';
 
slots[2].image.style.transform = 'rotateY(45deg)';
 
}
 
}

Revision as of 14:24, 18 September 2015

<
>


Supercellfie Ironcell Culk Thor Cellson Yeasteye Captain Cellmerica Black Cellow