html { text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } html, body { height: 100%; } body { font-family: "Helvetica Neue","Microsoft Yahei",Helvetica,Arial,sans-serif; line-height: 1.5; color: #999; font-size: 14px; } *, *:after, *:before { box-sizing: border-box; } html, body, ul, li, p { margin: 0; padding: 0; } img, input { display: block; } ul, li { list-style: none; } a { color: #6EB4E0; text-decoration: none; transition: color .3s ease; } a:hover { color: #6EB4E0; } header { width: 100%; background: #fff; overflow: hidden; border-bottom: 1px solid #eee; font-size: 16px; } .fn-alpha-in { opacity: 1 !important; } .fn-alpha-out { opacity: 0 !important; } .logo { float: left; height: 46px; line-height: 58px; margin: 15px 30px; transition: margin 0.3s cubic-bezier(0.075, 0.82, 0.165, 1) 0s, width 0.3s cubic-bezier(0.075, 0.82, 0.165, 1) 0s, height 0.3s cubic-bezier(0.075, 0.82, 0.165, 1) 0s; text-transform: uppercase; font-size: 18px; font-family: "Raleway",sans-serif; font-weight: 500; } .logo img { float: left; } .search { float: left; height: 22px; padding: 0px 30px; margin: 32px auto; border-left: 1px solid #EBEDEE; position: relative; } .search input[type="text"] { border: transparent; outline: none; width: 100px; height: 22px; padding: 0 0 0 20px; color: #999; transition: padding .3s cubic-bezier(0.075, 0.82, 0.165, 1); font-size: 14px; } .search input::-webkit-input-placeholder, .search input::-moz-placeholder, .search input:-ms-input-placeholder { color: #CADCE3; } .search input:focus { padding: 0 20px 0 0; width: 150px; } .search button { position: absolute; outline: none; background: transparent; border: transparent; top: 5px; width: 15px; height: 15px; padding: 0; left: 30px; cursor: pointer; transition: left .3s cubic-bezier(0.075, 0.82, 0.165, 1); } .search button:before, .search button:after { content: ""; display: block; } .search button:before { width: 12px; height: 12px; border-radius: 6px; border: 2px solid #CADCE3; background: #ffffff; position: absolute; top: 0 } .search button:after { width: 2px; height: 6px; background: #CADCE3; position: absolute; transform: rotate(-45deg); left: 10px; top: 8px; } .search input:focus ~ button { left: 170px; } .nav { width: 30%; height: 87px; line-height: 87px; float: right; font-size: 0.875em; position: relative; margin-right: 25px; } .nav ul li { float: left; width: 16.66%; text-align: center; border-top: 3px solid transparent; } .nav ul li.current { border-top: 3px solid #71B5DE; } .nav ul li a { color: #728AA3; width: 100%; height: 100%; display: block; } .nav ul li.current a { color: #71B5DE; } .nav ul li a:hover, .nav ul li .hover { color: #6EB4E0; } .nav .bar { width: 16.66%; height: 3px; position: absolute; top: 0; left: 0; background: #6EB4E0; transition: left .3s cubic-bezier(0.075, 0.82, 0.165, 1); } .nav-phone-icon { display: none; } /*banner*/ .main-box { display: block; position: absolute; top: 0; width: 100%; height: 100%; overflow: hidden; } .perspective { vertical-align: top; position: relative; perspective: 4000px; -webkit-perspective: 4000px; } .main { overflow: hidden; position: relative; min-height: calc(100% - 217px); transform-style: preserve-3d; transition: transform .6s cubic-bezier(0.785, 0.135, 0.15, 0.86), height .5s ease-out; } .banner-box { width: 100%; height: 100%; min-height: 600px; position: relative; overflow: inherit; -webkit-animation: yTopMatrix .3s ease-out; animation: yTopMatrix .3s ease-out; } .banner-box .banner-img { background: url("https://t.alipayobjects.com/images/T1URpfXeXtXXXXXXXX.jpg") center no-repeat; height: 1062px; width: 2185px; opacity: 0; transform-origin: 0 0; -webkit-transform-origin: 0 0; } .banner-box #bannerAnim, .load-main-box { position: absolute; width: 100%; height: 100%; transform-origin: 0 0; -webkit-transform-origin: 0 0; z-index: 2; background: #EBEDEE; } .load-main-box { top: 0; background: rgba(100, 100, 100, 0.15); animation: alphaTo .3s ease-out; -webkit-animation: alphaTo .3s ease-out; } .load-box { width: 40px; height: 40px; background: #ffffff; border-radius: 4px; box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.15); -webkit-box-shadow: 0 2px 3px rgba(0, 0, 0, 0.15); overflow: hidden; position: absolute; top: 50%; left: 50%; margin-left: -20px; margin-top: -20px; } .load-box em { display: block; width: 20px; height: 20px; border-radius: 20px 20px 0 0; background: linear-gradient(0deg, transparent 50%, #6EB4E0 50%); margin: 10px; position: relative; float: left; animation: RotaeX 1.5s infinite linear; -webkit-animation: RotaeX 1.5s infinite linear; } .load-box em:before, .load-box em:after { content: ""; display: block; } .load-box em:before { width: 14px; height: 14px; border-radius: 14px; margin: 3px auto; position: relative; z-index: 1; background: #ffffff; } .load-box em:after { position: absolute; width: 20px; height: 20px; border-radius: 20px; top: 0; background: linear-gradient(90deg, #6EB4E0, transparent); } .load-out { transform: scale(0, 0); -webkit-animation: scaleOut .5s cubic-bezier(0.6, -0.28, 0.735, 0.045); animation: scaleOut .5s cubic-bezier(0.6, -0.28, 0.735, 0.045); } .banner-box #bannerAnim .banner-line-absolute { position: absolute; } /*footer*/ footer { clear: both; border-top: 1px solid #eee; font-size: 16px; position: relative; background: #fff; } footer ul { overflow: hidden; min-height: 130px; margin: 0 2%; } footer ul li { float: left; width: 25%; padding: 1% 2%; } footer ul li>h2 { font-size: 1em; color: #5C6B77; margin: 10px auto; font-weight: normal; } footer ul li>h3, footer h3 { font-size: 0.75em; color: #5C6B77; font-weight: normal; } footer > h3 { text-align: center; font-size: .75em; display: none; margin: auto; padding: 10px 0; } footer ul li > a { font-size: 0.75em; display: block; margin: 5px auto; } .aside-container { width: 260px; background: #F9F9F9; padding-top: 15px; } .aside-container li h4 { font-size: 16px; font-weight: bold; padding-left: 50px; margin: 10px 0; color: #5C6B77; } .aside-container li a { line-height: 44px; height: 44px; display: block; padding-left: 60px; font-size: 14px; color: #5C6B76; border-left: 3px solid transparent; } .aside-container li a .chinese { font-size: 12px; margin-left: 10px; font-weight: normal; color: #999; } .aside-container li a:hover { color: #6EB4E0; } .aside-container li.current > a { background: #fff; border-left: 3px solid #71B5DE; color: #71B5DE; } .main-wrapper { display: flex; } .main-container { width: calc(100% - 260px); padding: 30px 40px 120px; -webkit-animation: xRightMatrix .5s ease-out .5s backwards; animation: xRightMatrix .5s ease-out .5s backwards; } .main-container-center { margin: 0 auto; padding-left: 0; padding-right: 0; width: calc(100% - 80px); height: 100%; } .markdown h1, .markdown h2, .markdown h3, .markdown h4, .markdown h5, .markdown h6 { color: #5C6B77; } .markdown h2 { margin: 2.5em 0 1em 0; } .markdown p { margin: 1em 0; width: 75%; } @media only screen and (min-width: 768px) and (max-width: 1024px) { .nav { width: 40%; } } @media only screen and (min-width: 320px) and (max-width: 767px) { .nav, .search { display: none; } .logo { margin: 10px; width: 110px; height: auto; } .nav-phone-icon { display: block; width: 49px; height: 49px; float: right; cursor: pointer; background: #BEC4C8; } .nav-phone-icon:before, .nav-phone-icon:after { content: ""; display: block; border-radius: 1px; width: 15px; height: 2px; background: #EBEDEE; margin: 20px 0 0 18px; } .nav-phone-icon:after { margin-top: 5px; } .main { height: calc(100% - 86px); } footer ul { display: none; } footer h3 { display: block; } } /*********动画区域**********/ /*动画延时*/ .delay-mode { animation-fill-mode: backwards !important; -webkit-animation-fill-mode: backwards !important; } .no-delay { animation-delay: 0s !important; -webkit-animation-delay: 0s !important; -moz-animation-delay: 0s !important; -o-animation-delay: 0s !important; } .from-rotate-scale-m { animation: mRotateScale .3s cubic-bezier(0.175, 0.885, 0.32, 1.275); -webkit-animation: mRotateScale .4s cubic-bezier(0.175, 0.885, 0.32, 1.275); } .from-rotate-scale-l { animation: lRotateScale .3s cubic-bezier(0.175, 0.885, 0.32, 1.275); -webkit-animation: lRotateScale .3s cubic-bezier(0.175, 0.885, 0.32, 1.275); } .from-scale-l { animation: lScale .3s cubic-bezier(0.175, 0.885, 0.32, 1.275); -webkit-animation: lScale .3s cubic-bezier(0.175, 0.885, 0.32, 1.275); } .from-scale-m { animation: mScale .3s cubic-bezier(0.175, 0.885, 0.32, 1.275); -webkit-animation: mScale .3s cubic-bezier(0.175, 0.885, 0.32, 1.275); } .from-x-left { animation: xLeft .3s cubic-bezier(0.175, 0.885, 0.32, 1.275); -webkit-animation: xLeft .3s cubic-bezier(0.175, 0.885, 0.32, 1.275); } .from-x-right { animation: xRight .3s cubic-bezier(0.175, 0.885, 0.32, 1.275); -webkit-animation: xRight .3s cubic-bezier(0.175, 0.885, 0.32, 1.275); } .from-y-top { animation: yTop .3s cubic-bezier(0.175, 0.885, 0.32, 1.275); -webkit-animation: yTop .3s cubic-bezier(0.175, 0.885, 0.32, 1.275); } .from-y-bottom { animation: yBottom .3s cubic-bezier(0.175, 0.885, 0.32, 1.275); -webkit-animation: yBottom .3s cubic-bezier(0.175, 0.885, 0.32, 1.275); } .to-img-blur { opacity: 0; animation: toImgBlur .5s ease-out; -webkit-animation: toImgBlur .5s ease-out; -moz-animation: toImgBlur .5s ease-out; -o-animation: toImgBlur .5s ease-out; -ms-animation: toImgBlur .5s ease-out; } .from-img-blur { opacity: 1 !important; animation: fromImgBlur .5s ease-out; -webkit-animation: fromImgBlur .5s ease-out; -moz-animation: fromImgBlur .5s ease-out; -o-animation: fromImgBlur .5s ease-out; -ms-animation: fromImgBlur .5s ease-out; } .alpha-out { opacity: 0; animation: alphaOut .5s ease-out; -webkit-animation: alphaOut .5s ease-out; } @keyframes fromImgBlur { 0% { opacity: 0; filter: blur(15px); } 100% { opacity: 1; filter: blur(0px); } } @-webkit-keyframes fromImgBlur { 0% { opacity: 0; -webkit-filter: blur(15px); } 100% { opacity: 1; -webkit-filter: blur(0px); } } @-moz-keyframes fromImgBlur { 0% { opacity: 0; -moz-filter: blur(15px); } 100% { opacity: 1; -moz-filter: blur(0px); } } @-ms-keyframes fromImgBlur { 0% { opacity: 0; -ms-filter: blur(15px); } 100% { opacity: 1; -ms-filter: blur(0px); } } @-o-keyframes fromImgBlur { 0% { opacity: 0; -o-filter: blur(15px); } 100% { opacity: 1; -o-filter: blur(0px); } } @keyframes toImgBlur { 0% { opacity: 1; filter: blur(0px); } 100% { opacity: 0; filter: blur(15px); } } @-webkit-keyframes toImgBlur { 0% { opacity: 1; -webkit-filter: blur(0px); } 100% { opacity: 0; -webkit-filter: blur(15px); } } @-moz-keyframes toImgBlur { 0% { opacity: 1; -moz-filter: blur(0px); } 100% { opacity: 0; -moz-filter: blur(15px); } } @-ms-keyframes toImgBlur { 0% { opacity: 1; -ms-filter: blur(0px); } 100% { opacity: 0; -ms-filter: blur(15px); } } @-o-keyframes toImgBlur { 0% { opacity: 1; -o-filter: blur(0px); } 100% { opacity: 0; -o-filter: blur(15px); } } @keyframes yBottom { 0% { opacity: 0; margin-top: 100px; } 100% { opacity: 1; margin-top: 0px; } } @-webkit-keyframes yBottom { 0% { opacity: 0; margin-top: 100px; } 100% { opacity: 1; margin-top: 0px; } } @keyframes yTop { 0% { opacity: 0; margin-top: -100px; } 100% { opacity: 1; margin-top: 0px; } } @-webkit-keyframes yTop { 0% { opacity: 0; margin-top: -100px; } 100% { opacity: 1; margin-top: 0px; } } @keyframes xRight { 0% { opacity: 0; margin-left: 100px; } 100% { opacity: 1; margin-left: 0px; } } @-webkit-keyframes xRight { 0% { opacity: 0; margin-left: 100px; } 100% { opacity: 1; margin-right: 0px; } } @keyframes xLeft { 0% { opacity: 0; margin-left: -100px; } 100% { opacity: 1; margin-left: 0px; } } @-webkit-keyframes xLeft { 0% { opacity: 0; margin-left: -100px; } 100% { opacity: 1; margin-left: 0px; } } @keyframes mScale { 0% { opacity: 0; transform: scale(0, 0); } 100% { opacity: 1; transform: scale(1, 1); } } @-webkit-keyframes mScale { 0% { opacity: 0; -webkit-transform: scale(0, 0); } 100% { opacity: 1; -webkit-transform: scale(1, 1); } } @keyframes lScale { 0% { opacity: 0; transform: scale(1.5, 1.5); } 100% { opacity: 1; transform: scale(1, 1); } } @-webkit-keyframes lScale { 0% { opacity: 0; -webkit-transform: scale(1.5, 1.5); } 100% { opacity: 1; -webkit-transform: scale(1, 1); } } @keyframes mRotateScale { 0% { opacity: 0; transform: rotate(90deg) scale(0, 0); } 100% { opacity: 1; transform: rotate(0deg) scale(1, 1); } } @-webkit-keyframes mRotateScale { 0% { opacity: 0; -webkit-transform: rotate(90deg) scale(0, 0); } 100% { opacity: 1; -webkit-transform: rotate(0deg) scale(1, 1); } } @keyframes lRotateScale { 0% { opacity: 0; transform: rotate(90deg) scale(1.5, 1.5); } 100% { opacity: 1; transform: rotate(0deg) scale(1, 1); } } @-webkit-keyframes lRotateScale { 0% { opacity: 0; -webkit-transform: rotate(90deg) scale(1.5, 1.5); } 100% { opacity: 1; -webkit-transform: rotate(0deg) scale(1, 1); } } @keyframes RotaeX { to { transform: rotate(360deg); } } @-webkit-keyframes RotaeX { to { -webkit-transform: rotate(360deg); } } @keyframes scaleOut { 0% { transform: scale(1, 1); } 100% { transform: scale(0, 0); } } @-webkit-keyframes scaleOut { 0% { -webkit-transform: scale(1, 1); ; } 100% { -webkit-transform: scale(0, 0); ; } } @keyframes yTopMatrix { 0% { opacity: 0; transform: translateY(-50px); } 100% { opacity: 1; transform: translateY(0px); } } @-webkit-keyframes yTopMatrix { 0% { opacity: 0; -webkit-transform: translateY(-50px); } 100% { opacity: 1; -webkit-transform: translateY(0px); } } @keyframes yBottomMatrix { 0% { opacity: 0; transform: translateY(50px); } 100% { opacity: 1; transform: translateY(0px); } } @-webkit-keyframes yBottomMatrix { 0% { opacity: 0; -webkit-transform: translateY(50px); } 100% { opacity: 1; -webkit-transform: translateY(0px); } } @keyframes xLeftMatrix { 0% { opacity: 0; transform: translateX(-50px); } 100% { opacity: 1; transform: translateX(0px); } } @-webkit-keyframes xLeftMatrix { 0% { opacity: 0; -webkit-transform: translateX(-50px); } 100% { opacity: 1; -webkit-transform: translateX(0px); } } @keyframes xRightMatrix { 0% { opacity: 0; transform: translateX(50px); } 100% { opacity: 1; transform: translateX(0px); } } @-webkit-keyframes xRightMatrix { 0% { opacity: 0; -webkit-transform: translateX(50px); } 100% { opacity: 1; -webkit-transform: translateX(0px); } } @keyframes mainOut { 0% { transform: rotateY(0deg); } 100% { transform: rotateY(90deg); } } @-webkit-keyframes mainOut { 0% { -webkit-transform: rotateY(0deg); } 100% { -webkit-transform: rotateY(90deg); } } @keyframes alphaTo { 0% { opacity: 0; } 100% { opacity: 1; } } @-webkit-keyframes alphaTo { 0% { opacity: 0; } 100% { opacity: 1; } } @keyframes alphaOut { 0% { opacity: 1; } 100% { opacity: 0; } } @-webkit-keyframes alphaOut { 0% { opacity: 1; } 100% { opacity: 0; } } @-webkit-keyframes rotateCircle { 0% { -webkit-transform-origin: 50% 50%; -webkit-transform: rotate(0deg); } 100% { -webkit-transform-origin: 50% 50%; -webkit-transform: rotate(360deg); } } @keyframes rotateCircle { 0% { transform-origin: 50% 50%; transform: rotate(0deg); } 100% { transform-origin: 50% 50%; transform: rotate(360deg); } } /* 首页有动画 */ .index-page .nav { -webkit-animation: yTopMatrix .5s ease-out .5s backwards; animation: yTopMatrix .5s ease-out .5s backwards; } .index-page footer { -webkit-animation: yBottomMatrix .5s ease-out .7s backwards; animation: yBottomMatrix .5s ease-out .7s backwards; } .index-page .logo { -webkit-animation: xLeftMatrix .5s ease-out; animation: xLeftMatrix .5s ease-out; } .index-page .search { -webkit-animation: xRightMatrix .5s ease-out .3s backwards; animation: xRightMatrix .5s ease-out .3s backwards; } .api-link { font-size: 16px; vertical-align: middle; margin-left: 15px; font-weight: normal; } .component-demos .icon-all { cursor: pointer; font-size: 16px; color: #9199AC; margin-left: 5px; vertical-align: text-bottom; opacity: 0.8; transition: all 0.3s ease; } .component-demos .icon-all:hover { opacity: 1; } .code-box { border: 1px solid #E9E9E9; border-radius: 6px; display: inline-block; width: 100%; position: relative; margin: 0px 15px 15px 0px; } .code-box.code-box-expand { border-bottom: 1px dashed #ddd; border-radius: 6px 6px 0 0; } .code-box .code-box-demo { padding: 50px 25px; border-bottom: 1px solid #ddd; } .code-box-meta { position: relative; padding: 25px 15px; } .code-box-meta h4, .code-box-meta p { margin: 0; } .code-box-title { position: absolute; top: -10px; background: #fff; padding: 0 1em; color: #888; font-weight: bold; } .code-box-title:before { font-family: iconfont; content: "\e607"; font-size: 16px; vertical-align: middle; line-height: 22px; position: relative; margin-right: 6px; top: -1px; color: #ccc; } .code-box-description { font-size: 12px; } .code-box .collapse { position: absolute; right: 15px; top: 50%; cursor: pointer; border: 1px solid #999; width: 20px; height: 20px; line-height: 17px; font-size: 14px; text-indent: 3px; border-radius: 100%; opacity: 0.5; transform: rotate(90deg); margin-top: -10px; } .code-box .collapse:hover { opacity: 1; } .code-box .highlight { overflow: hidden; display: none; padding: 5px 15px; position: absolute; width: calc(100% + 2px); border: 1px solid #ddd; border-top: 1px dashed #ddd; border-radius: 0 0 6px 6px; background: #fff; margin-left: -1px; } .code-box pre { margin: 0; } .code-box pre code { border: none; } .entry { position: absolute; top: 19%; left: 10%; z-index: 100; color: #707d8d; font-family: 'Raleway', sans-serif; font-weight: 300; -webkit-animation: xLeftMatrix 2s ease-out; animation: xLeftMatrix 2s ease-out; } .entry-title { font-size: 50px; text-transform: uppercase; line-height: 1; margin-bottom: 2px; } .entry-slogan { padding-left: 4px; font-size: 18px; color: #9ea9b4; } a.entry-link { margin-top: 15px; border: 1px solid rgba(95, 108, 119, 0.3); border-radius: 50px; color: #5F6C77; display: block; text-align: center; padding: 8px 0; width: 140px; transition: all 0.3s ease; } a.entry-link:hover { border-color: #5F6C77; } a.entry-link .iconfont { margin-right: 3px; display: inline-block; } a.entry-link:hover .iconfont { -webkit-animation: rotateCircle 0.5s 1 ease-in; animation: rotateCircle 0.5s 1 ease-in; }