android下雪动画图片,CSS3 下雪的背景动画
CSS
语言:
CSSSCSS
确定
.snow-container {
position: absolute;
height: 500px;
width: 100%;
max-width: 100%;
top: 0;
overflow: hidden;
z-index: 2;
pointer-events: none;
background-color: black;
}
.snow {
display: block;
position: absolute;
z-index: 2;
top: 0;
right: 0;
bottom: 0;
left: 0;
pointer-events: none;
-webkit-transform: translate3d(0, -100%, 0);
transform: translate3d(0, -100%, 0);
-webkit-animation: snow linear infinite;
animation: snow linear infinite;
}
.snow.foreground {
background-image: url("https://dl6rt3mwcjzxg.cloudfront.net/assets/snow/snow-large-075d267ecbc42e3564c8ed43516dd557.png");
-webkit-animation-duration: 15s;
animation-duration: 15s;
}
.snow.foreground.layered {
-webkit-animation-delay: 7.5s;
animation-delay: 7.5s;
}
.snow.middleground {
background-image: url(https://dl6rt3mwcjzxg.cloudfront.net/assets/snow/snow-medium-0b8a5e0732315b68e1f54185be7a1ad9.png);
-webkit-animation-duration: 20s;
animation-duration: 20s;
}
.snow.middleground.layered {
-webkit-animation-delay: 10s;
animation-delay: 10s;
}
.snow.background {
background-image: url(https://dl6rt3mwcjzxg.cloudfront.net/assets/snow/snow-small-1ecd03b1fce08c24e064ff8c0a72c519.png);
-webkit-animation-duration: 25s;
animation-duration: 25s;
}
.snow.background.layered {
-webkit-animation-delay: 12.5s;
animation-delay: 12.5s;
}
@-webkit-keyframes snow {
0% {
-webkit-transform: translate3d(0, -100%, 0);
transform: translate3d(0, -100%, 0);
}
100% {
-webkit-transform: translate3d(5%, 100%, 0);
transform: translate3d(5%, 100%, 0);
}
}
@keyframes snow {
0% {
-webkit-transform: translate3d(0, -100%, 0);
transform: translate3d(0, -100%, 0);
}
100% {
-webkit-transform: translate3d(5%, 100%, 0);
transform: translate3d(5%, 100%, 0);
}
}
android下雪动画图片,CSS3 下雪的背景动画相关推荐
- jQuery+CSS3实现404背景动画特效【转】
jQuery+CSS3实现404背景动画特效 效果: http://hovertree.com/texiao/jquery/74/ 源码下载: http://hovertree.com/h/bjaf/ ...
- css圆背景,css3圆形旋转背景动画特效
特效描述:css3 圆形旋转 背景动画特效.css3 animation和transform属性制作圆形旋转背景动画. 代码结构 1. HTML代码 var followers = document. ...
- html边框背景图片,css3 边框、背景、文本效果的实现代码
一.边框 box-shadow box-shadow: h-shadow v-shadow blur spread color inset(ontset); //h-shadow:水平阴影 v-sha ...
- android窗帘拉开动画,H5+CSS3窗帘拉开收起动画特效源码
效果图 今天给大家带来了一个简单的特效源码 H5+CSS3窗帘拉开收起动画特效源码 废话不多说,上源码! html { box-sizing: border-box; } *, *::after, * ...
- CSS3实现渐变背景动画特效
效果图: 具体实现代码如下: <!DOCTYPE html> <html lang="en"> <head><meta charset=& ...
- HTML中淡入的动画效果,CSS3实现页面淡入动画特效代码
现在的css3有很多效果可以直接替换flash了,下面我来给大家介绍一个利用CSS3实现页面淡入动画特效代码,希望此教程 对各位同学会有所帮助. 利用CSS3动画属性"@keyframes ...
- html5悬浮圆圈背景动画特效,html5圆圈浮动背景动画特效
特效描述:html5 圆圈浮动 背景动画特效.html5圆圈浮动背景动画特效 代码结构 1. 引入JS 2. HTML代码 var container; var camera, scene, proj ...
- html5圆圈动画效果,CSS3实现光感圆圈动画效果
CSS3实现光感圆圈动画效果全部代码 html> CSS3实现光感圆圈动画效果 body { background: #111; } .halo { transition: .4s all; } ...
- 炫酷html动画,纯CSS3一个炫酷动画
纯CSS3一个炫酷动画 通过下边的代码可以看到这个例子的html代码还是很简单的,中间类似图标的部分是通过给两个 围绕盒子爬的虫子通过给 HTML代码 CSS代码 body{ margin: 0; b ...
最新文章
- WMI技术介绍和应用——使用VC编写一个半同步查询WMI服务的类
- wkwebView基本使用方法
- Hadoop(HDFS、YARN、HBase、Hive和Spark等)默认端口表
- 使用MLX90640自制红外热像仪(四):stm32f103c8t6刷320x240分辨率屏的时间测试
- Spring入门系列之Spring概述
- 免费拿走我的代码可以,但请对使用我的时间付费
- mysql的条件求和函数_使用SQL语句统计数据时sum和count函数中使用if判断条件的讲解...
- SELU︱在keras、tensorflow中使用SELU激活函数
- linuxmove命令_linux中mv命令使用详解
- 高中python公开课怎么上好_Python公开课 - Requests高级功能
- Xshell官网免费版下载实用
- 伟大的数学思想家—黎曼
- Qt5 QFileDialog中文英文交界处乱码问题
- php中.=是什么意思,javascript中$符号是什么意思?
- centos6.3下2T以上大硬盘如何部署和使用
- Java程序员花十个月做私活,收入50w+,网友:老哥建个群搭个伙呗
- java微信支付v3系列——7.微信支付之申请退款
- 辅流式沉淀池固体负荷计算方法_辐流式沉淀池设计计算
- 常用的3D深度相机汇总
- DataV轮播表组件dv-scroll-board宽度问题