< type="text/css">
.stock-finapp-box {
position: relative;
cursor:pointer;
}
.stock-finapp-popup {
position: absolute;
z-index: 10000;
left: -24px;
width: 180px;
bottom: -20px;
height: 180px;
-webkit-animation-duration: .5s;
animation-duration: .5s;
-webkit-animation-fill-mode: both;
animation-fill-mode: both;
overflow: hidden;
}
.stock-finapp-popup .btn-close {
position: absolute;
z-index: 10001;
right: 5px;
top: 5px;
width: 36px;
height: 36px;
border-radius: 50%;
background: url(//n.sinaimg.cn/finance/stock_finapp_ad/popup_close.png) center center no-repeat #fff;
cursor: pointer;
border: 1px solid #ededed;
}
.stock-finapp-popup .qr-box {
width: 140px;
height: 140px;
background: rebeccapurple;
position: absolute;
bottom: 20px;
left: 50%;
margin-left: -70px;
}
.stock-finapp-popup .qr-box img {
width: 100%;
height: 100%;
}
.fadeInUp {
-webkit-animation-name: fadeInUp;
animation-name: fadeInUp;
}
.fadeOutDown {
-webkit-animation-name: fadeOutDown;
animation-name: fadeOutDown;
}
@-webkit-keyframes fadeInUp {
from {
opacity: 0;
-webkit-transform: translate3d(030%0);
transform: translate3d(030%0);
}
to {
opacity: 1;
-webkit-transform: none;
transform: none;
}
}
@keyframes fadeInUp {
from {
opacity: 0;
-webkit-transform: translate3d(030%0);
transform: translate3d(030%0);
}
to {
opacity: 1;
-webkit-transform: none;
transform: none;
}
}
@-webkit-keyframes fadeOutDown {
from {
opacity: 1;
-webkit-transform: none;
transform: none;
}
to {
opacity: 0;
-webkit-transform: translate3d(030%0);
transform: translate3d(030%0);
}
}
@keyframes fadeOutDown {
from {
opacity: 1;
-webkit-transform: none;
transform: none;
}
to {
opacity: 0;
-webkit-transform: translate3d(030%0);
transform: translate3d(030%0);
}
}
>