#container {
	position: absolute;
	left: 50%; margin-left:-100px;
	top: 70%; margin-top:-100px;
	height: 200px;
	width: 200px;
	-webkit-perspective: 400px;
	-moz-perspective: 400px;
	-ms-perspective: 400px;
	-o-perspective: 400px;
	perspective: 400px;
}

.frame {
	
	opacity: 0.7;
	width: 200px;
	-webkit-transform-style: preserve-3d;
	-webkit-transform: rotateX();
	-webkit-animation: spin 20s infinite linear;
	-moz-transform-style: preserve-3d;
	-moz-transform: rotateX();
	-moz-animation: spin 20s infinite linear;
	-ms-transform-style: preserve-3d;
	-ms-transform: rotateX();
	-ms-animation: spin 20s infinite linear;
	-o-transform-style: preserve-3d;
	-o-transform: rotateX();
	-o-animation: spin 20s infinite linear;
	transform-style: preserve-3d;
	transform: rotateX();
	animation: spin 20s infinite linear;
}

@-webkit-keyframes spin {
	from { -webkit-transform: rotateX(-180deg) translateZ(300px); }
	50%   { -webkit-transform: rotateX(-360deg) translateZ(300px); }
	to   { -webkit-transform: rotateX(-180deg) translateZ(300px); }
}
@-moz-keyframes spin {
	from { -moz-transform: rotateX(-180deg) translateZ(300px); }
	50%   { -moz-transform: rotateX(-360deg) translateZ(300px); }
	to   { -moz-transform: rotateX(-180deg) translateZ(300px); }
}
@-ms-keyframes spin {
	from { -ms-transform: rotateX(-180deg) translateZ(300px); }
	50%   { -ms-transform: rotateX(-360deg) translateZ(300px); }
	to   { -ms-transform: rotateX(-180deg) translateZ(300px); }
}
@-o-keyframes spin {
	from { -o-transform: rotateX(-180deg) translateZ(300px); }
	50%   { -o-transform: rotateX(-360deg) translateZ(300px); }
	to   { -o-transform: rotateX(-180deg) translateZ(300px); }
}
@keyframes spin {
	from { transform: rotateX(-180deg) translateZ(300px); }
	50%   { transform: rotateX(-360deg) translateZ(300px); }
	to   { transform: rotateX(-180deg) translateZ(300px); }
}

.inner {
	// b
	height:200px;width:200px;
 	-webkit-transform: rotateX(90deg);
	-webkit-transform-style: preserve-3d;
	-webkit-animation: spin2 10s infinite linear;
	-moz-transform: rotateX(90deg);
	-moz-transform-style: preserve-3d;
	-moz-animation: spin2 10s infinite linear;
	-ms-transform: rotateX(90deg);
	-ms-transform-style: preserve-3d;
	-ms-animation: spin2 10s infinite linear;
	-o-transform: rotateX(90deg);
	-o-transform-style: preserve-3d;
	-o-animation: spin2 10s infinite linear;
	transform: rotateX(90deg);
	transform-style: preserve-3d;
	animation: spin2 10s infinite linear;
}

@-webkit-keyframes spin2 {
	from { -webkit-transform: rotateY(-90deg); }
	to   { -webkit-transform: rotateY(710deg); }
}
@-moz-keyframes spin2 {
	from { -moz-transform: rotateY(-90deg); }
	to   { -moz-transform: rotateY(710deg); }
}
@-ms-keyframes spin2 {
	from { -ms-transform: rotateY(-90deg); }
	to   { -ms-transform: rotateY(710deg); }
}
@-o-keyframes spin2 {
	from { -o-transform: rotateY(-90deg); }
	to   { -o-transform: rotateY(710deg); }
}
@keyframes spin2 {
	from { transform: rotateY(-90deg); }
	to   { transform: rotateY(710deg); }
}

.inner div {
	position: absolute;
	height:100px;padding-top:100px;
	width:200px;
	background-size: 100% 100%;
	opacity: 0.9;
	-webkit-transform: rotateX(-90deg);
	-moz-transform: rotateX(-90deg);
	-ms-transform: rotateX(-90deg);
	-o-transform: rotateX(-90deg);
	transform: rotateX(-90deg);
	
}

.inner .a {
	background: url(../img/a.jpg);
	background-size: 100% 100%;
	-webkit-transform: rotateY(-90deg);
	-moz-transform: rotateY(-90deg);
	-ms-transform: rotateY(-90deg);
	-o-transform: rotateY(-90deg);
	transform: rotateY(-90deg);
	left:100px;
}

.inner .b {
	background: url(../img/b.jpg);
	background-size: 100% 100%;
	-webkit-transform: rotateY(90deg);
	-moz-transform: rotateY(90deg);
	-ms-transform: rotateY(90deg);
	-o-transform: rotateY(90deg);
	transform: rotateY(90deg);
	left:-100px;
}

.inner .c {
	background: url(../img/c.jpg);
	background-size: 100% 100%;
	-webkit-transform: rotateX(90deg);
	-moz-transform: rotateX(90deg);
	-ms-transform: rotateX(90deg);
	-o-transform: rotateX(90deg);
	transform: rotateX(90deg);
	-webkit-transform: translateZ(-100px);
	-moz-transform: translateZ(-100px);
	-ms-transform: translateZ(-100px);
	-o-transform: translateZ(-100px);
	transform: translateZ(-100px);
}

.inner .d {
	background: url(../img/d.jpg);
	background-size: 100% 100%;
	-webkit-transform: translateZ(100px);
	-moz-transform: translateZ(100px);
	-ms-transform: translateZ(100px);
	-o-transform: translateZ(100px);
	transform: translateZ(100px);
}

.inner .e {
	background: url(../img/e.jpg);
	top:100px;
}

.inner .f {
	background: url(../img/f.jpg);
	top:-100px;
}

