三维球体运动开关切换动画效果

代码语言:html

所属分类:表单美化

代码描述:三维球体运动开关切换动画效果

代码标签: 开关 切换 动画 效果

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


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

<head>

 
<meta charset="UTF-8">

 
 
 
 
<style>
* {
  box-sizing: border-box;
}

html {
  height: 100%;
}

body {
  height: 100%;
  background: -webkit-gradient(linear, left top, left bottom, color-stop(50%, #ffad00), to(#d58500));
  background: linear-gradient(#ffad00 50%, #d58500);
  background-repeat: no-repeat;
  background-attachment: fixed;
  display: -webkit-box;
  display: flex;
  -webkit-box-pack: center;
          justify-content: center;
  -webkit-box-align: center;
          align-items: center;
}

form {
  width: 600px;
  height: 350px;
  margin: -4px -2px;
  border-radius: 500px;
  background: -webkit-gradient(linear, left top, left bottom, from(#ffbd00), to(#ca7900));
  background: linear-gradient(#ffbd00, #ca7900);
  box-shadow: 0 1px 5px hsla(41, 100%, 40%, 0.3),
         -3px 25px 25px hsla(41, 100%, 35%, 0.5),
         -6px 50px 5.........完整代码请登录后点击上方下载按钮下载查看

网友评论0