一个很不错的H5动画网站
2016-08-10 10:16
232 查看
http://daneden.github.io/animate.css/下载下来引入到你的CSS文件里面,html代码是这样的
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>动画库</title>
<style type="text/css">
body{
margin: 0;
}
div{
width: 200px;
height: 100px;
background-color:red;
position: absolute;
left: 50%;
top: 50%;
margin-left: -100px;
margin-top: -50px;
}
.always{
animation-iteration-count:infinite;
}
</style>
<link rel="stylesheet" href="../css/animate.css" type="text/css" />
</head>
<body>
<div class="animated shake always"></div>
</body>
</html>
很方便的东西
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>动画库</title>
<style type="text/css">
body{
margin: 0;
}
div{
width: 200px;
height: 100px;
background-color:red;
position: absolute;
left: 50%;
top: 50%;
margin-left: -100px;
margin-top: -50px;
}
.always{
animation-iteration-count:infinite;
}
</style>
<link rel="stylesheet" href="../css/animate.css" type="text/css" />
</head>
<body>
<div class="animated shake always"></div>
</body>
</html>
很方便的东西
相关文章推荐
- 收藏:关于.Net的一个很不错的网站
- 一个可以动态创建响应动画GIF的网站,AjaxLoad
- (收藏)一个很不错的编程网站
- 一个网站完整详细的SEO优化方案(很不错的方案,其实之前也是这么干的,懒得形成书面)
- 一个学习css的很不错的网站 css入门 css教程
- 一个很不错的技术文章网站
- 介绍一个很不错的电影网站
- 一个很不错的网站,里面的照片,素材都可以下载
- 发现一个介绍自然科学的网站,很不错
- 推荐一个生成等待动画gif的网站
- [导入]一个很不错的Flash特效网站
- 一个用Silverlight地图的网站,很不错
- 将数字金额转换成大写人民币形式(网站收到的一个方法很不错)
- Python Module of the Week--很不错的一个网站
- 一个在线翻译网站。很不错。
- 推荐一个很不错的网站
- 给大家介绍一个不错的网站(关于gif动画的)
- 推荐一个免费的求职顾问网站,很不错
- IOS 一个很不错的Iphone开发网站---收藏了
- 从外国html5网站上扒来一个鼠标经过的css3 效果,感觉很不错