Box-sizing: border-
Box;
text-decoration: none;
}
a { -webkit-touch-callout: none; text-decoration: none }
:focus { outline: 0 }
body{
font-family: Helvetica,STHeiTi,"Microsoft YaHei",sans-serif;
color: #595757;
background-color: #fff;
outline: 0;
overflow-x: hidden;
-webkit-tap-highlight-color:rgba(0,0);
}
img{
border: none;
}
.whiteColor{
color: #fff;
text-align: center;
}
.flex_parent{
display: -webkit-
Box;
display: -moz-
Box;
display: -ms-flex
Box;
display: -webkit-flex;
display: flex;
}
.flex_child{
-webkit-
Box-flex: 1;
-moz-
Box-flex: 1;
-webkit-flex: 1;
-ms-flex: 1;
flex: 1;
}
/*middle_
Box*/
body{
position: relative;
background-color: #272822;
}
#middle
Box{
width: 260px;
height: 248px;
margin: 0 auto;
background-image: url(../images/irfa_dog.jpg);
background-repeat: no-repeat;
background-size: 100% 100%;
border-radius: 10px;
/*水平垂直居中*/
position: fixed;
left: 50%;
top: 50%;
margin-top: -124px;
-webkit-transform: translateX(-50%);
-moz-transform: translateX(-50%);
-o-transform: translateX(-50%);
-ms-transform: translateX(-50%);
transform: translateX(-50%);
z-index: 100;
}
.close_btn{
display: block;
overflow: hidden;
position: absolute;
top: -10px;
right: -10px;
}
.will_close{
width:32px;
}
#middle
Box a{
overflow: hidden;
}
#middle
Box a img,#middle
Box a span,#middle
Box ul li{
float: left;
}
#middle
Box a span{
font-size: 16px;
color: #fff;
}
#middle
Box ul{
overflow: hidden;
}
#middle
Box ul li{
width: 130px;
}
#middle
Box ul li a{
line-height: 50px;
display: block;
padding-left: 5px;
}
#middle
Box ul li a img{
width:30px;
margin-right: 2px;
margin-top: 8px;
margin-left: 5px;
}
.btn_tel{
background-color: #F92665;
border-bottom-left-radius: 10px;
}
.btn_chat{
background-color: #1EA362;
border-bottom-right-radius: 10px;
}
.parent_btn{
position: absolute;
left: 0;
bottom: 0;
}
Box");
this.btn.onclick=this.displayNone;
},displayBlock:function(){
adv.div.style.display="block";
},displayNone:function(){
adv.div.style.display="none";
timer=setTimeout(function(){
adv.displayBlock();
},3000);
}
};
window.onload=function(){
adv.init();
};