.container{position: relative; width: 100%; height: 600px; margin: 0px auto 0; padding: 0 }
.container .box{position: relative; width: 30%; height: 270px; background:#000; float: left; margin: 15px; overflow: hidden;
box-sizing: border-box; box-shadow: 0 5px 10px rgba(0, 0, 0, .8)}
.container .box:before{content: ''; position: absolute; top: 10px; left: 10px; right: 10px; bottom: 10px; border-top: 1px solid #fff;
border-bottom: 1px solid #fff; box-sizing: border-box; transition: .5s; transform: translateX(0); transform: scaleX(0);
opacity: 0; z-index: 1}
.container .box:hover:before{ transform: scaleX(1); opacity: 1;}
.container .box:after{content: ''; position: absolute; top: 10px; left: 10px; right: 10px; bottom: 10px; border-left: 1px solid #fff;
border-right: 1px solid #fff; box-sizing: border-box; transition: .5s; transform: translateY(0);opacity: 0;
transform: scaley(0);z-index: 1 }
.container .box:hover:after{ transform: scaleY(1); opacity: 1; }
.container .box .imgBox{position: relative; }
.container .box .imgBox img{width: 100%; transition: .5s; overflow: hidden; }
.container .box:hover .imgBox img{opacity: .2; transform: scale(1.2)}
.container .box .content{position: absolute; width: 100%; top: 50%;transform: translateY(-50%); z-index: 2; padding: 20px;
box-sizing: border-box; text-align: center}
.container .box .content h2{margin: 0 0 10px 0; padding: 0; color: #fff; transition: .5s; transform: translateY(-50px); opacity: 0;
visibility: hidden}
.container .box .content .pe{margin: 0 ; padding: 0; color: #fff; transition: .5s; transform: translateY(50px); opacity: 0;
visibility: hidden}
.container .box:hover .content h2{opacity: 1; visibility: visible; transform: translateY(0px)}
.container .box:hover .content .pe{opacity: 1; visibility: visible; transform: translateY(0px)}
.container .box .content .pepe{color: white; font-size: 70px; opacity: 1; visibility: visible; transform: translateY(75%)}
.container .box:hover .content .pepe{color: white; font-size: 70px; opacity:0; visibility: hidden; position: absolute; }