2017.12.6
来源:互联网 发布:高晓松 吴彦祖 知乎 编辑:程序博客网 时间:2024/06/07 18:42
<!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=gb2312" />
<title>rotate</title>
<style>
*{
margin:0px;
padding:0px;
}
#wrap{
width:1919px;
height:985px;
background-color:rgba(0,0,0,1);
}
.pic1{
width:213px;
height:213px;
margin-top:350px;
margin-left:850px;
position:absolute;
z-index:10;
background-image:url(1.png);
}
.pic1 a{
display:block;
width:100%;
height:100%;
text-indent:-999em;
}
.pic1 a i{
display:block;
width:100%;
height:100%;
background-image:url(2.png);
}
.pic1 a:hover i{
animation:flip 1s 0s ease both;
transition:all 0s .2s;
}
@-webkit-keyframes flip
{
0%{ transform:perspective(300px)
rotate3d(0,1,0,360deg);
transition-timing-function:ease-in;
opacity:1}
20%{
transform:perspective(300px)
rotate3d(0,1,0,270deg);
transition-timing-function:ease-in;
opacity:1}
21%{
transform:perspective(300px)
rotate3d(0,1,0,90deg);
transition-timing-function:ease-in;
opacity:1}
40%{
transform:perspective(300px)
rotate3d(0,1,0,-40deg);
transition-timing-function:ease-in
opacity:1}
60%{
transform:perspective(300px)
rotate3d(0,1,0,20deg);
opacity:1}
80%{
transform:perspective(300px)
rotate3d(0,1,0,-5deg)
opacity:1}
100%{-webkit-transform:perspective(300px);
transform:perspective(300px)
opacity:1}
}
</style>
</head>
<body>
<div id="wrap">
<div class='pic1'>
<a href="../slider/slider.html"><i>进入官网</i></a>
</div>
</div>
</body>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>rotate</title>
<style>
*{
margin:0px;
padding:0px;
}
#wrap{
width:1919px;
height:985px;
background-color:rgba(0,0,0,1);
}
.pic1{
width:213px;
height:213px;
margin-top:350px;
margin-left:850px;
position:absolute;
z-index:10;
background-image:url(1.png);
}
.pic1 a{
display:block;
width:100%;
height:100%;
text-indent:-999em;
}
.pic1 a i{
display:block;
width:100%;
height:100%;
background-image:url(2.png);
}
.pic1 a:hover i{
animation:flip 1s 0s ease both;
transition:all 0s .2s;
}
@-webkit-keyframes flip
{
0%{ transform:perspective(300px)
rotate3d(0,1,0,360deg);
transition-timing-function:ease-in;
opacity:1}
20%{
transform:perspective(300px)
rotate3d(0,1,0,270deg);
transition-timing-function:ease-in;
opacity:1}
21%{
transform:perspective(300px)
rotate3d(0,1,0,90deg);
transition-timing-function:ease-in;
opacity:1}
40%{
transform:perspective(300px)
rotate3d(0,1,0,-40deg);
transition-timing-function:ease-in
opacity:1}
60%{
transform:perspective(300px)
rotate3d(0,1,0,20deg);
opacity:1}
80%{
transform:perspective(300px)
rotate3d(0,1,0,-5deg)
opacity:1}
100%{-webkit-transform:perspective(300px);
transform:perspective(300px)
opacity:1}
}
</style>
</head>
<body>
<div id="wrap">
<div class='pic1'>
<a href="../slider/slider.html"><i>进入官网</i></a>
</div>
</div>
</body>
</html>
参照冒险岛官网做了个旋转的demo
阅读全文
0 0
- 2017.12.6
- 2017.12.6
- 2017.12.6-2017.12.20周报
- 2017.12.6学习计划
- 2017.12.6-2017.12.19 学习情况
- 2017.12.6 C语言第三次课
- 八周第三次课 2017.12.6 rsync通过服务同步、linux系统日志、screen工具
- 抓住窗口期 成就世界级 —— 29周年之际致全体同仁 wwj 2017.12.6
- 2017.12.01
- 2017.12.3
- 2017.12.3
- 2017.12.4
- 2017.12.5
- 2017.12.7
- 2017.12.07
- 2017.12.7
- 2017.12.7
- 2017.12.7
- linux php调用c库
- Windows TELNET 使用配置
- C和指针之预处理器之普通c/c++文件的编译过程
- socket
- 数据结构 线性表 / 顺序存储结构
- 2017.12.6
- 文章标题
- C语言中基本数据类型细节
- .net项目——家庭影院
- leetcode Populating Next Right Pointers in Each Node II
- 深入剖析RecyclerView源码1
- 1006 sicily Substring
- Linux学习笔记(二)_系统设定_磁盘
- 装饰者模式