1 Star 0 Fork 0

up/html-animations

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
demo10.html 6.45 KB
一键复制 编辑 原始数据 按行查看 历史
up 提交于 2016-09-22 10:55 +08:00 . init
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="shortcut icon" href="http://simbyone.com/wp-content/uploads/2014/04/3455e6f65c33232a060c28829a49b1cb.png">
<title>Page Preloading Effects</title>
<link href='http://fonts.googleapis.com/css?family=Source+Sans+Pro:200,300,400,600,700,900,200italic,300italic,400italic,600italic,700italic,900italic' rel='stylesheet' type='text/css'>
<link rel="stylesheet" href="http://maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css">
<link href="_css/Icomoon/style.css" rel="stylesheet" type="text/css" />
<link href="_css/main.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="_scripts/jquery-2.0.2.min.js"></script>
<script type="text/javascript" src="_scripts/main.js"></script>
<style>
#loading{
background-color: #2a2c2b;
height: 100%;
width: 100%;
position: fixed;
z-index: 1;
margin-top: 0px;
top: 0px;
}
#loading-center{
width: 100%;
height: 100%;
position: relative;
}
#loading-center-absolute-one {
position: absolute;
left: 50%;
top: 50%;
height: 300px;
width: 50px;
margin-top: -150px;
margin-left: -25px;
}
#loading-center-absolute-two {
position: absolute;
left: 50%;
top: 50%;
height: 300px;
width: 50px;
margin-top: -150px;
margin-left: 50px;
}
.object-one{
width: 18px;
height: 18px;
background-color: #FFF;
float: left;
margin-top: 15px;
margin-right: 15px;
-ms-transform: rotate(45deg);
-webkit-transform: rotate(45deg);
transform: rotate(45deg);
-webkit-animation: object-one 1s infinite;
animation: object-one 1s infinite;
}
.object-two{
width: 18px;
height: 18px;
background-color: #FFF;
float: left;
margin-top: 15px;
margin-right: 15px;
-ms-transform: rotate(45deg);
-webkit-transform: rotate(45deg);
transform: rotate(45deg);
-webkit-animation: object-two 1s infinite;
animation: object-two 1s infinite;
}
.object-one:nth-child(6){
-webkit-animation-delay: 0.6s;
animation-delay: 0.6s;
}
.object-one:nth-child(5){
-webkit-animation-delay: 0.5s;
animation-delay: 0.5s;
}
.object-one:nth-child(4){
-webkit-animation-delay: 0.4s;
animation-delay: 0.4s;
}
.object-one:nth-child(3){
-webkit-animation-delay: 0.3s;
animation-delay: 0.3s;
}
.object-one:nth-child(2){
-webkit-animation-delay: 0.2s;
animation-delay: 0.2s;
}
.object-two:nth-child(9){
-webkit-animation-delay: 0.9s;
animation-delay: 0.9s;
}
.object-two:nth-child(8){
-webkit-animation-delay: 0.8s;
animation-delay: 0.8s;
}
.object-two:nth-child(7){
-webkit-animation-delay: 0.7s;
animation-delay: 0.7s;
}
.object-two:nth-child(6){
-webkit-animation-delay: 0.6s;
animation-delay: 0.6s;
}
.object-two:nth-child(5){
-webkit-animation-delay: 0.5s;
animation-delay: 0.5s;
}
.object-two:nth-child(4){
-webkit-animation-delay: 0.4s;
animation-delay: 0.4s;
}
.object-two:nth-child(3){
-webkit-animation-delay: 0.3s;
animation-delay: 0.3s;
}
.object-two:nth-child(2){
-webkit-animation-delay: 0.2s;
animation-delay: 0.2s;
}
@-webkit-keyframes object-one{
50% {
-ms-transform: translate(100px,0);
-webkit-transform: translate(100px,0);
transform: translate(100px,0);
}
}
@keyframes object-one{
50% {
-ms-transform: translate(100px,0);
-webkit-transform: translate(100px,0);
transform: translate(100px,0);
}
}
@-webkit-keyframes object-two{
50% {
-ms-transform: translate(-100px,0);
-webkit-transform: translate(-100px,0);
transform: translate(-100px,0);
}
}
@keyframes object-two{
50% {
-ms-transform: translate(-100px,0);
-webkit-transform: translate(-100px,0);
transform: translate(-100px,0);
}
}
</style>
</head>
<body>
<div id="loading">
<div id="loading-center">
<div id="loading-center-absolute-one">
<div class="object-one"></div>
<div class="object-one"></div>
<div class="object-one"></div>
<div class="object-one"></div>
<div class="object-one"></div>
<div class="object-one"></div>
</div>
<div id="loading-center-absolute-two">
<div class="object-two"></div>
<div class="object-two"></div>
<div class="object-two"></div>
<div class="object-two"></div>
<div class="object-two"></div>
<div class="object-two"></div>
</div>
</div>
</div>
<div id="header">
<div id="header-left">
<div id="header-left-icon"><a href="http://simbyone.com/30-css-page-preload-animations/"><i class="fa fa-angle-left"></i></a></div>
<div id="header-left-text"><a href="http://simbyone.com/30-css-page-preload-animations/">30 CSS Page Preload Animations</a></div>
</div>
<div id="header-right">
<div id="header-right-icon"><a href="http://simbyone.com/css-page-preload-animations/css-page-preload-animations.zip"><i class="fa fa-cloud-download"></i></a></div>
<div id="header-right-text"><a href="http://simbyone.com/css-page-preload-animations/css-page-preload-animations.zip">Download Source</a></div>
</div>
</div>
<div id="wrapper">
<div id="wrapper-center">
<div class="wrapper-center-title">Square Animations</div>
<div class="wrapper-center-content">
<a href="demo1.html">Demo 1</a>
<a href="demo2.html">Demo 2</a>
<a href="demo3.html">Demo 3</a>
<a href="demo4.html">Demo 4</a>
<a href="demo5.html">Demo 5</a>
<a href="demo6.html">Demo 6</a>
<a href="demo7.html">Demo 7</a>
<a href="demo8.html">Demo 8</a>
<a href="demo9.html">Demo 9</a>
<a href="demo10.html">Demo 10</a>
</div>
<div class="wrapper-center-title">Round Animations</div>
<div class="wrapper-center-content">
<a href="demo11.html">Demo 11</a>
<a href="demo12.html">Demo 12</a>
<a href="demo13.html">Demo 13</a>
<a href="demo14.html">Demo 14</a>
<a href="demo15.html">Demo 15</a>
<a href="demo16.html">Demo 16</a>
<a href="demo17.html">Demo 17</a>
<a href="demo18.html">Demo 18</a>
<a href="demo19.html">Demo 19</a>
<a href="demo20.html">Demo 20</a>
</div>
<div class="wrapper-center-title">Various Animations</div>
<div class="wrapper-center-content">
<a href="demo21.html">Demo 21</a>
<a href="demo22.html">Demo 22</a>
<a href="demo23.html">Demo 23</a>
<a href="demo24.html">Demo 24</a>
<a href="demo25.html">Demo 25</a>
<a href="demo26.html">Demo 26</a>
<a href="demo27.html">Demo 27</a>
<a href="demo28.html">Demo 28</a>
<a href="demo29.html">Demo 29</a>
<a href="demo30.html">Demo 30</a>
</div>
</div>
</div>
<?php $post_title = 'Drag and Drop Newsletter Builder using jQuery'; require_once('../recommended_posts.php'); ?>
</body>
</html>
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/up99/html-animations.git
git@gitee.com:up99/html-animations.git
up99
html-animations
html-animations
master

搜索帮助