Hi, so I've been trying to get 3d transforms to work in IE11. But for whatever reason IE doesn't seem
to do anything. From what I'm seeing after a few google searches is that the 3d transforms is a bit wonky
on IE. All seems to work fine in Chrome and Firefox though. Any help/insight would be appreciated.
Thanks
-ray
<html>
<body>
<style type="text/css">
#picContainer {
overflow: hidden;
width: 300px;
height: 600px;
border: 1px solid black;
}
.pic {
position: absolute;
}
#pic01 {
width: 300px;
height: 600px;
background-image: url("1.jpg");
}
#pic02 {
width: 300px;
height: 600px;
background-image: url("2.jpg");
}
</style>
<div id="picContainer" >
<div id="pic01" class="pic"></div>
<div id="pic02" class="pic"></div>
</di>
<script src="js/EasePack.min.js"></script>
<script src="js/CSSPlugin.min.js"></script>
<script src="js/TweenLite.min.js"></script>
<script type="text/javascript">
var pic01 = document.getElementById("pic01");
var pic02 = document.getElementById("pic02");
TweenLite.set(picContainer, {transformStyle: "preserve-3d"});
TweenLite.set(picContainer, {perspective:800});
TweenLite.to(pic01, 1, {rotationY:60, transformOrigin:"50% 50% -260px", delay:1});
TweenLite.to(pic02, 1, {rotationY:0, transformOrigin:"50% 50% -260px", delay:1});
</script>
</body>
</html>