效果演示
HTML
<div id="xcx-ad" class="xcx-ad-container">
<div id="close-ad" class="close-ico" onclick="target_dis();" ></div>
<a class="more-two" target="_blank" href="http://www.ly522.com">查看详情</a>
</div>
<div id="xcx-ad-back" class="xcx-ad-back" onclick="target_disa();" ></div>
CSS
*{ margin:0; border:0;}
.fix-bottombottom-container{
width: 100%;
height: 222px;
position: fixed;
bottombottom: 0;
left: 0;
z-index: 999;
background: url("../images/AprilFools'DayBanner.png") center no-repeat;
}
.fix-bottombottom-container .close-icon{
width: 24px;
height: 25px;
position: absolute;
top: 100px;
rightright: 50%;
margin-right: -590px;
cursor: pointer;
-webkit-transition: -webkit-transform .3s;
-moz-transition: -moz-transform .3s;
-ms-transition: -ms-transform .3s;
-o-transition: -o-transform .3s;
transition: transform .3s;
background: url("../images/close-afd-icon.png") center no-repeat;
}
.fix-bottombottom-container .close-icon:hover{
-webkit-transform: rotate(180deg);
-moz-transform: rotate(180deg);
-ms-transform: rotate(180deg);
-o-transform: rotate(180deg);
transform: rotate(180deg);
}
.fix-bottombottom-pack{
width: 155px;
height: 130px;
position: fixed;
left: -155px;
bottombottom: 0;
cursor: pointer;
z-index: 999;
background: url("../images/AprilFools'DayMini.png") left no-repeat;
}
.xcx-ad-container{
width: 100%;
height: 130px;
position: fixed;
bottombottom: 0;
left: 0;
z-index: 999;
background: url(../images/xcx-ad-bg.png) center no-repeat;
}
.xcx-ad-container .close-ico{
width: 26px;
height: 26px;
position: absolute;
top: 15px;
rightright: 50%;
margin-right: -575px;
cursor: pointer;
-webkit-transition: -webkit-transform .3s;
-moz-transition: -moz-transform .3s;
-ms-transition: -ms-transform .3s;
-o-transition: -o-transform .3s;
transition: transform .3s;
background: url(../images/xcx-ad-close-ico.png) center no-repeat;
}
.xcx-ad-container .close-ico:hover{
-webkit-transform: rotate(180deg);
-moz-transform: rotate(180deg);
-ms-transform: rotate(180deg);
-o-transform: rotate(180deg);
transform: rotate(180deg);
}
.xcx-ad-container .more{
position: absolute;
rightright: 50%;
margin-right: -466px;
top: 60px;
width: 108px;
height: 28px;
line-height: 28px;
border: 2px solid #01bafe;
border-radius: 20px;
color: #fff;
font-size: 14px;
text-align: center;
background: #01a8fe;
}
.xcx-ad-container .more-two{
position: absolute;
rightright: 42%;
margin-right: -320px;
top: 50px;
width: 100px;
height: 28px;
line-height: 28px;
border-radius: 5px;
color: #fff;
font-size: 14px;
text-align: center;
text-decoration: none;
background: #fd3dce;
border: 2px solid #fd3dce;
}
.xcx-ad-container .more-two i{
display: inline-block;
width: 17px;
height: 17px;
background: url("../images/ej-ico.png") no-repeat;
vertical-align: middle;
margin-right: 6px;
}
.xcx-ad-back{
width: 144px;
height: 130px;
left:0;
position: fixed;
bottombottom: 0;
cursor: pointer;
z-index: 998;
background: url(../images/xcx-left-float-bg.png) left no-repeat;
}
JS
© 版权声明
1. 资源都是经过站长或作者收集测试修改后发布分享。如若转载请在文内以超链形式注明狐狸库文章出处,谢谢合作!
2. 本站除原创内容,其余所有内容均收集自互联网,仅限用于学习和研究目的,本站不对其内容的合法性承担任何责任。如有版权内容,请通知我们或作者删除,其版权均归原作者所有,本站虽力求保存原有版权信息,但因众多资源经多次转载,已无法确定其真实来源,或已将原有信息丢失,所以敬请原作者谅解!
3. 本站用户所发布的一切资源内容不代表本站立场,并不代表本站赞同其观点和对其真实性负责,若您对本站所载资源作品版权归属存有异议,请留言附说明联系邮箱,我们将在第一时间予以处理 ,同时向您表示歉意!为尊重作者版权,请购买原版作品,支持您喜欢的作者,谢谢!
4. 本站一律禁止以任何方式发布或转载任何违法的相关信息,访客如有发现请立即向站长举报;本站资源文件大多存储在云盘,如发现链接或图片失效,请联系作者或站长及时更新。
THE END
请登录后查看评论内容