一段代码实现PC移动端底部浮悬代码

开始看到这段代码是装修网站上,然后自己写了个,1.6S进场动画

PC需要居中显示,大家拿去用吧!

PC端演示:

底部自适应漂浮代码

WAP端演示:

底部自适应漂浮代码

代码如下:

<style type=”text/css”>

* {margin幻灯片自底部飞入:0px; padiing:0px;}

.login_alert{position:fixed;bottom:0px;left:0px;width:100%;z-index:9999;}

.login_alert_close{position:absolute;top:-10px;right:0px;z-index:1;cursor:pointer;}

.login_alert_box{width:100%自底部飞入;text-align:center; background-color:rgba(61, 61, 61, 0.6); height:60px;}

.logppt自底部in_alert_bo自底部切入x div{cursor:default; font-family:’微软雅黑’; color:#66CCFF; font自底部怎么设置-size:26px; font-weight:bol自底部d; line-height:80px;}

.login_alert_box div a{text-decoration:none;displa自底部怎么设置y:inline-block;paddin底部自适应g:5px 20px; font-size:20px; color:#000; background-自底部擦除color:#00CC99; border-radius:4px; line-height:26px;}

.login_alert_box div span{font-size:18px;}

.login_alert{animat幻灯片自底部飞入ion:show_alert_left 1.6s;-webkit自底部推进-animation:show_alert_left 1.6s;-moz-animation:show_alert_left 1.6s;}

.login_alert_box{backgr自底部ound-color:rgba(幻灯片自底部飞入0,0,底部自适应0,0.6);height:60px;}

.login_a幻灯片自底部飞入lert_box:hov自适应漂浮代码e幻灯片自底部飞入r{background-color:rgba(0,0,0,0.8);}

.login_alert_box div{color:#66CCFF;font-size:26px;line-height:6ppt自底部0px;}

.login_alert_box div a{font-size:20px;line-height:200px;border-radiu自底部擦除s:4px;}

@k自适应漂浮代码eyframes show_alert_le底部自适应ft{

froppt自底部m{left:-100%;}

to{left:0px;进入伸展自底部}

}

@-webkit-keyfra底部自适应mes show_alert_left{

from{left:-100%;}

to{left:0px;}

}底部自适应

@-moz-keyframes show_alert_left{

from{left:-1自底部怎么设置00%;}

to{left:0px;}

}

</style>

<div cla幻灯片自底部飞入ss=”login_alert” id=”login_alert”>

<div class=”login_alert_close” onclick=”closeAlert()”>

</div>

<cente自底部r><s底部自适应cript typ自底部怎么设置e=”text/javascript” charset=”UTF-8″ src=”https://apimall.dataoke.com/api/component/code-info/v1?comId=3149&type=2&v=1604687945″ exte-id=”3149″ data-size=”800×8自底部怎么设置0″ data-color=”#FF681D自底部飞入” data-show=”1″ data-txt=”网购前搜索全网隐藏优惠进入伸展自底部券更省钱!”></script></center>

<script typ底部自适应e=”text/javascript” charset=”UTF-8″ src=”https://apima自适应漂浮代码ll.dataoke.com/api/component/code动画效果自底部-info/v1?comId=3154&自底部怎么设置type=2&v=1604684235″ exte-动画效果自底部id=”3154″ data-s进入伸展自底部ize=”100%*100px” dat幻灯片自底部飞入a-index=”5000″ data-幻灯片自底部飞入color=”#FF7119″ dat自底部怎么设置a-show=”1″></script>