TweenMax+vue实现6种组件进入离开动画效果代码
代码语言:html
所属分类:动画
代码描述:TweenMax+vue实现6种组件进入离开动画效果代码,包括fade、slide、slideUp、zoom、flipX、flipY。
代码标签: TweenMax vue 6种 组件 进入 离开 动画
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<link href='https://fonts.googleapis.com/css?family=Ubuntu:bold' rel='stylesheet' type='text/css'>
<link href='https://fonts.googleapis.com/css?family=Vollkorn' rel='stylesheet' type='text/css'>
<link type="text/css" rel="stylesheet" href="//repo.bfw.wiki/bfwrepo/css/normalize.5.0.css">
<style>
* {
box-sizing: border-box;
}
#app {
overflow: hidden;
position: absolute;
left: 0;
top: 0;
width: 100vw;
height: 100vh;
background: #4c4c4c;
background: -webkit-gradient(left top, right bottom, color-stop(0%, #4c4c4c), color-stop(36%, rgba(43, 43, 43, 0.74)), color-stop(71%, rgba(28, 28, 28, 0.5)), color-stop(100%, rgba(19, 19, 19, 0.29)));
background: linear-gradient(135deg, #4c4c4c 0%, rgba(43, 43, 43, 0.74) 36%, rgba(28, 28, 28, 0.5) 71%, rgba(19, 19, 19, 0.29) 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr="#4c4c4c", endColorstr="#131313", GradientType=1 );
color: #fff;
}
.controls {
position: absolute;
left: 50%;
bottom: 40px;
transform: translate(-50%, 0);
width: 100%;
margin-top: 30px;
text-align: center;
pad.........完整代码请登录后点击上方下载按钮下载查看
网友评论0