
.abt1-ul li{
    position: relative;
    perspective: 300px;
  }
.abt1-ul li>div{
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    transform-style: preserve-3d;
    transform-origin: 50% 50% -150px;
    animation: 200ms ease-out 0ms 1 normal forwards;
  }

.show,
.hide{
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
  }
.hide{
    color:#fff;
    background-color:#000;
    text-align:center;
    line-height:300px;
    transform: translate3d(0,0,-1px);
    /* 3D空间内移动一个元素的位置 */
}


.in-top .hide,
.out-top .hide
 {
    transform-origin: 0% 100%;
    transform: translate3d(0, -100%, 0) rotate3d(1,0,0,90deg);
}
.in-top>div{
    animation-name: in-top;
    animation-play-state: running;
}
.out-top>div{
    animation-name: out-top;
    animation-play-state: running;
}
@keyframes in-top {
    from  {transform: rotate3d(0,0,0,0deg)}
    to    {transform: rotate3d(-1,0,0,90deg)}
} 

@keyframes out-top {
    from {transform: rotate3d(-1,0,0,90deg)}
    to   {transform: rotate3d(0,0,0,0deg)}
}
.in-right .hide,
.out-right .hide {
          transform-origin: 0% 0%;
          transform: translate3d(100%, 0, 0) rotate3d(0,1,0,90deg);
}
.in-right>div{
    animation-name: in-right;
    animation-play-state: running;
}
.abt1-ul li.out-right>div{
    animation-name: out-right;
    animation-play-state: running;
}
@keyframes in-right {
    from  {transform: rotate3d(0,0,0,0deg)}
    to    {transform: rotate3d(0,-1,0,90deg)}
}

@keyframes out-right {
    from  {transform: rotate3d(0,-1,0,90deg)}
    to    {transform: rotate3d(0,0,0,0deg)}
}

.in-bottom .hide,
.out-bottom .hide {
          transform-origin: 0% 0%;
          transform: translate3d(0, 100%, 0) rotate3d(-1,0,0,90deg);
}
.abt1-ul li.in-bottom>div{
    animation-name: in-bottom;
    animation-play-state: running;
}
.abt1-ul li.out-bottom>div{
    animation-name: out-bottom;
    animation-play-state: running;
}
@keyframes in-bottom {
    from  {transform: rotate3d(0,0,0,0deg)}
    to    {transform: rotate3d(1,0,0,90deg)}
}
@keyframes out-bottom {
    from  {transform: rotate3d(1,0,0,90deg)}
    to    {transform: rotate3d(0,0,0,0deg)}
}
.in-left .hide{
          transform-origin: 100% 0;
          transform: translate3d(-100%,0,0) rotate3d(0,-1,0,90deg);
}

.out-left .hide {
          transform-origin: 100% 0;
          transform: translate3d(-100%,0,0) rotate3d(0,-1,0,90deg);
}
@keyframes in-left {
    from  {transform: rotate3d(0,0,0,0deg)}
    to    {transform: rotate3d(0,1,0,90deg)}
}
@keyframes out-left {
    from  {transform: rotate3d(0,1,0,90deg)}
    to    {transform: rotate3d(0,0,0,0deg)}
}
.abt1-ul li.in-left>div{
          animation-name: in-left;
          animation-play-state: running;
}
.abt1-ul li.out-left>div{
          animation-name: out-left;
          animation-play-state: running;
}





@media (max-width:1259px) {
	.hide{line-height: 240px;}
	.abt1-ul li>div{ transform-origin: 50% 50% -120px; }
}
@media (max-width:991px) {
	.in-left .hide,.out-left .hide,
	.in-bottom .hide,.out-bottom .hide,
	.in-right .hide,.out-right .hide,
	.in-top .hide,.out-top .hide{transform: none;}
	.hide{display: none;}
	.abt1-ul li.out-bottom>div,.abt1-ul li.in-bottom>div,
	.abt1-ul li.out-right>div,.abt1-ul li.in-right>div,
	.abt1-ul li.out-left>div,.abt1-ul li.in-left>div,
	.abt1-ul li.out-top>div,.abt1-ul li.in-top>div
	{animation: none;}
}