.pageinfo { margin-top: 8px; } .declare{ margin: 72px 0 0 0; text-align: center; } .onlinedeclare{ width:249px; height:249px; position: relative; margin: 0 18px; display: inline-table; color: #fff; text-align: center; cursor: pointer; } .onlinedeclare.active{ animation: mymove 0.35s; -webkit-animation: mymove 0.35s; -moz-animation: mymove 0.35s; -o-animation: mymove 0.35s; } @keyframes mymove { 0% {transform: rotateY( 0deg )} 50%{transform: rotateY( 90deg )} 100%{transform: rotateY( 0deg )} } @-webkit-keyframes mymove { 0% {transform: rotateY( 0deg )} 50%{transform: rotateY( 90deg )} 100%{transform: rotateY( 0deg )} } @-moz-keyframes mymove { 0% {transform: rotateY( 0deg )} 50%{transform: rotateY( 90deg )} 100%{transform: rotateY( 0deg )} } @-o-keyframes mymove { 0% {transform: rotateY( 0deg )} 50%{transform: rotateY( 90deg )} 100%{transform: rotateY( 0deg )} } .declare{ margin-top: 80px; margin-bottom: 80px; } .declare img{ position: absolute; top: 25px; left: 92px; } .record{ font-size: 24px; } .department{ font-size: 18px; } .declare1{ background:url("/tzxmcsglxhcom/static/bjpc/images/WechatIMG25.png") no-repeat; } .declare2{ background:url("/tzxmcsglxhcom/static/bjpc/images/WechatIMG24.png") no-repeat; } .declare3{ background:url("/tzxmcsglxhcom/static/bjpc/images/WechatIMG30.png") no-repeat; } .declare4{ background:url("/tzxmcsglxhcom/static/bjpc/images/WechatIMG23.png") no-repeat; } .record1{ position: absolute; top: 105px; left: 50px; } .department1{ position: absolute; top: 153px; left: 73px; } .record2{ position: absolute; top: 95px; left: 50px; } .department2{ position: absolute; top: 145px; left: 73px; } .department3{ position: absolute; top: 174px; left: 55px; } .record3{ width: 174px; position: absolute; top: 95px; left: 38px; } .record4{ width: 174px; position: absolute; top: 110px; left: 38px; } .lines{ text-align: center; z-index: 9; margin-top: -10px; } .lines img{ margin-left: auto; margin-right: auto; } .itemOuer{ /*width: 70%; margin-left: 15%;*/ /*margin-left: 10%;*/ margin: 50px auto; text-align: center; /*margin-top: 120px;*/ /*margin-bottom: 120px;*/ } .itemOuer .item{ width: 248px; height: 105px; display: inline-block; background-size: 100% 100%; background-repeat: no-repeat; cursor: pointer; font-size: 20px; letter-spacing: 1px; vertical-align: middle; line-height: 105px; text-align: center; color: white; margin: 0 10px 10px 0; float:left; } .itemOuer .item1{ background-image: url("/tzxmcsglxhcom/static/bjpc/images/itembg1.jpg"); } .itemOuer .item1:hover{ background-image: url("/tzxmcsglxhcom/static/bjpc/images/itembg1_active.jpg"); } .itemOuer .item2{ background-image: url("/tzxmcsglxhcom/static/bjpc/images/itembg2.jpg"); } .itemOuer .item2:hover{ background-image: url("/tzxmcsglxhcom/static/bjpc/images/itembg2_active.jpg"); } .itemOuer .item3{ background-image: url("/tzxmcsglxhcom/static/bjpc/images/itembg3.jpg"); } .itemOuer .item3:hover{ background-image: url("/tzxmcsglxhcom/static/bjpc/images/itembg3_active.jpg"); } .itemOuer .itemRed{ background-image: url("/tzxmcsglxhcom/static/bjpc/images/itembg2.jpg"); } .itemOuer .itemRed:hover{ background-image: url("/tzxmcsglxhcom/static/bjpc/images/itembg2_active.jpg"); } .itemOuer .itemGreen{ background-image: url("/tzxmcsglxhcom/static/bjpc/images/itembg1.jpg"); } .itemOuer .itemGreen:hover{ background-image: url("/tzxmcsglxhcom/static/bjpc/images/itembg1_active.jpg"); } .itemOuer .itemBlue{ background-image: url("/tzxmcsglxhcom/static/bjpc/images/itembg3.jpg"); } .itemOuer .itemBlue:hover{ background-image: url("/tzxmcsglxhcom/static/bjpc/images/itembg3_active.jpg"); } .wb-box{ position: absolute; top: 0px; left: 0px; z-index: 10001; width: 100%; height: 100%; display:none; background-color: #777; opacity: 0.9; } .wb-box1{ width:258px; height:258px; position:fixed; left:50%; top:25%; margin-left:-129px; border:0px solid #000000; } .wb-box-text1{ width:258px; position:fixed; left:50%; top:25%; margin-top:258px; margin-left:-129px; text-align:center; color:#000; } .wb-box-text2{ width:auto; height:auto; position:fixed; left:50%; top:25%; margin-left:129px; text-align:center; background: rgba(255,0,0,0.8); font-size:25px; line-height:100%; padding-top:0px; }