.bz-buttonAnimat { position: relative; padding: 1px; } .bz-buttonAnimat::before, .bz-buttonAnimat::after, .bz-buttonAnimat .inner::before, .bz-buttonAnimat .inner::after { background-color: #0076c3 } .bz-buttonAnimat02::before, .bz-buttonAnimat02::after, .bz-buttonAnimat02 .inner::before, .bz-buttonAnimat02 .inner::after { background-color: #0076c3 } .bz-buttonAnimat:before, .bz-buttonAnimat:after, .bz-buttonAnimat .inner:before, .bz-buttonAnimat .inner:after { position: absolute; content: ""; display: block; -webkit-transition: -webkit-transform .3s; transition: -webkit-transform .3s; transition: transform .3s; transition: transform .3s, -webkit-transform .3s } .bz-buttonAnimat.horizontal:before, .bz-buttonAnimat.horizontal:after, .bz-buttonAnimat.both:before, .bz-buttonAnimat.both:after { left: 0; width: 100%; height: 2px; -webkit-transform: scaleX(0); transform: scaleX(0) } .bz-buttonAnimat.horizontal .inner:before, .bz-buttonAnimat.horizontal .inner:after, .bz-buttonAnimat.both .inner:before, .bz-buttonAnimat.both .inner:after { top: 0; width: 2px; height: 100%; -webkit-transform: scaleY(0); transform: scaleY(0) } .bz-buttonAnimat.horizontal .inner:before, .bz-buttonAnimat.both .inner:before { left: 0 } .bz-buttonAnimat.horizontal .inner:after, .bz-buttonAnimat.both .inner:after { right: 0 } .bz-buttonAnimat.horizontal .inner:hover:before, .bz-buttonAnimat.horizontal .inner:hover:after, .bz-buttonAnimat.both .inner:hover:before, .bz-buttonAnimat.both .inner:hover:after { -webkit-transform: scaleY(1); transform: scaleY(1) } .bz-buttonAnimat.horizontal:before, .bz-buttonAnimat.both:before { top: 0 } .bz-buttonAnimat.horizontal:after, .bz-buttonAnimat.both:after { bottom: 0 } .bz-buttonAnimat.horizontal:hover:before, .bz-buttonAnimat.horizontal:hover:after, .bz-buttonAnimat.both:hover:before, .bz-buttonAnimat.both:hover:after { -webkit-transform: scaleX(1); transform: scaleX(1) } .bz-buttonAnimat.horizontal:hover .inner:before, .bz-buttonAnimat.horizontal:hover .inner:after, .bz-buttonAnimat.both:hover .inner:before, .bz-buttonAnimat.both:hover .inner:after { -webkit-transform: scaleY(1); transform: scaleY(1) } .bz-buttonAnimat.horizontal.clockwise .inner:before, .bz-buttonAnimat.both.clockwise .inner:before { -webkit-transform-origin: top center; transform-origin: top center } .bz-buttonAnimat.horizontal.clockwise .inner:after, .bz-buttonAnimat.both.clockwise .inner:after { -webkit-transform-origin: bottom center; transform-origin: bottom center } .bz-buttonAnimat.horizontal.clockwise:before, .bz-buttonAnimat.both.clockwise:before { -webkit-transform-origin: right center; transform-origin: right center } .bz-buttonAnimat.horizontal.clockwise:after, .bz-buttonAnimat.both.clockwise:after { -webkit-transform-origin: left center; transform-origin: left center } .bz-buttonAnimat.horizontal.clockwise:hover .inner:before, .bz-buttonAnimat.both.clockwise:hover .inner:before { -webkit-transform-origin: bottom center; transform-origin: bottom center } .bz-buttonAnimat.horizontal.clockwise:hover .inner:after, .bz-buttonAnimat.both.clockwise:hover .inner:after { -webkit-transform-origin: top center; transform-origin: top center } .bz-buttonAnimat.horizontal.clockwise:hover:before, .bz-buttonAnimat.both.clockwise:hover:before { -webkit-transform-origin: left center; transform-origin: left center } .buttonAnimat a strong{display: block;width: 100%;margin: 0 auto;position:relative;z-index:0;overflow:hidden;} .buttonAnimat a:hover strong{-webkit-transition:all .5s;transition:all .5s;color: #ffffff;} .buttonAnimat a strong::before{content:'';width:100%;height:1px;background:#ffffff;position:absolute;top:0;left:0;z-index:-1;-webkit-transition:all .5s;transition:all .5s;} .buttonAnimat a:hover strong::before{content:'';height:50px;background:#0076c3;position:absolute;top:0;left:0;z-index:-1;-webkit-transition:all .5s;transition:all .5s;} /*鏂板鍔ㄧ敾*/ .zoomImg a img{transition: all 0.5s ease 0s;} .zoomImg a:hover img{transform:scale(1.12,1.12);-webkit-transform:scale(1.12,1.12)} .zoomImg2 a span i{transition: all 0.5s ease 0s;} .zoomImg2 a:hover span i{transform:scale(1.12,1.12);-webkit-transform:scale(1.12,1.12)}