国产探花免费观看_亚洲丰满少妇自慰呻吟_97日韩有码在线_资源在线日韩欧美_一区二区精品毛片,辰东完美世界有声小说,欢乐颂第一季,yy玄幻小说排行榜完本

首頁 > 開發(fā) > CSS > 正文

底部出現(xiàn)3秒消失的CSS3效果

2024-07-11 08:20:49
字體:
供稿:網(wǎng)友
這篇文章主要為大家詳細介紹了底部出現(xiàn)3秒消失的CSS3效果,具有一定的參考價值,感興趣的小伙伴們可以參考一下,有需要的朋友可以收藏方便以后借鑒。

先看下演示效果:

底部出現(xiàn)3秒消失的CSS3效果

下面是實現(xiàn)代碼,此效果是手機響應(yīng)式效果,建議手機瀏覽測試

<!DOCTYPE html><html><head><meta charset="UTF-8"><title>Document</title></head><style type="text/css">*{margin: 0px;padding: 0px;}.pay_tips_animation_up{position: fixed;height: 56px;background: #FC000C;width: 100%;bottom: -56px;animation:myfirst 3s none;animation-direction:alternate;animation-iteration-count:1;/* Safari and Chrome */-webkit-animation:myfirst 3s none;-webkit-animation-direction:alternate;-webkit-animation-iteration-count:1; /* Safari 和 Chrome */}@keyframes myfirst{0%  {background:green; bottom:-56px;}25% {background:#999;  bottom:0px;}50% {background:#333;  bottom:0px;}75% {background:yellow; bottom:0px;}100%{background:blue; bottom:-56px;}}@-webkit-keyframes myfirst /* Safari and Chrome */{0%  {background:green; bottom:-56px;}25% {background:#999; bottom:0px;}50% {background:#333; bottom:0px;}75% {background:yellow; bottom:0px;}100%{background:blue; bottom:-56px;}}</style><body><div class="pay_tips_animation_up ddd">11</div></body></html>


以上就是底部出現(xiàn)3秒消失的CSS3效果的全部內(nèi)容,希望對大家的學習和解決疑問有所幫助,也希望大家多多支持武林網(wǎng)。
發(fā)表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發(fā)表
主站蜘蛛池模板: 太湖县| 原阳县| 陆丰市| 建昌县| 冀州市| 上犹县| 巴东县| 昌平区| 白山市| 上栗县| 永福县| 兴化市| 长阳| 扶风县| 灵丘县| 昌图县| 恩平市| 辽宁省| 秦安县| 陇川县| 涟水县| 榆林市| 恭城| 获嘉县| 合作市| 淮安市| 维西| 文水县| 蓬溪县| 延边| 和政县| 大冶市| 连江县| 抚松县| 内丘县| 融水| 轮台县| 洮南市| 赣榆县| 宁化县| 崇礼县|