一大一小切换按钮点击动画效果代码

代码语言:html

所属分类:表单美化

代码描述:一大一小切换按钮点击动画效果代码

代码标签: 按钮 点击 动画 效果

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

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

<head>

   
<meta charset="UTF-8">



   
<style>
        body
{
           
background-color: #111;
           
overflow: hidden;
           
text-align: center;
           
display: flex;
           
align-items: center;
           
justify-content: center;
       
}

        body
,
        html
{
           
height: 100%;
           
width: 100%;
           
margin: 0;
           
padding: 0;
       
}

       
#mainSVG {
           
width: 100%;
           
height: 100%;
           
visibility: hidden;
       
}
   
</style>



</head>

<body>
   
<svg id="mainSVG" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 800 600">
       
<defs>
           
<path id="end" d="M420.2,300c0,0-9,0-20.2,0s-20.2,0-20.2,0s9,0,20.2,0S420.2,300,420.2,300z" />
           
<filter id="goo" color-interpolation-filters="sRGB">
               
<feGaussianBlur in="SourceGraphic" stdDeviation="8" result="blur" />
               
<feColorMatrix in="blur" mode="matrix" values="1 0 0 0 0  0 1 0 0 0  0 0 1 0 0  0 0 0 16 -13" result="cm" />
               
<feBlend />
           
</filter>
            <filter id="plastic" color-interpolation-filters="sRGB" filterUnits="objectBoundi.........完整代码请登录后点击上方下载按钮下载查看

网友评论0