TweenMax实现鼠标横向位置控制伞打开飞走效果代码

代码语言:html

所属分类:动画

代码描述:TweenMax实现鼠标横向位置控制伞打开飞走效果代码

代码标签: 横向 位置 控制 打开 飞走 效果

下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开

<!DOCTYPE html>
<html lang="en">

<head>

   
<meta charset="UTF-8">



   
<style>
        body
{
           
background-color: #578BAA;
           
overflow: hidden;
       
}
        body
, html {
           
height: 100%;
           
width: 100%;
           
margin: 0;
           
padding: 0;
       
}

       
.container {
         
           
width: 100vw;

           
height: 100vh;

           
display: flex;
           
align-content: center;
           
justify-content: center;
       
}

        svg
{
           
position: absolute;
           
left: 0%;
           
visibility: hidden;

       
}
       
        h1
{
           
font-size: 20px;

       
}
        h2
{
           
font-size: 15px;
           
width: 96%;
           
font-weight: normal;
       
}

        span
{
           
font-style: italic;
       
}
        a
{
           
color: #FFF;
           
font-weight: 700;
       
}
        ul
{
           
margin-top: 0;
           
padding-left: 15px;
           
width: 80%;
       
}
       
.update {
           
color: #FFDC7B;
       
}
   
</style>



</head>

<body>
   
<div class="container">
       
<!-- Generator: Adobe Illustrator 18.1.1.........完整代码请登录后点击上方下载按钮下载查看

网友评论0