Toggle navigation
在线编辑器
在线代码
文本比较
jQuery下载
前端库
在线手册
登录/注册
下载代码
html
css
js
分享到微信朋友圈
X
html
0/5 COMPLETED.
DOWNLOAD WHITEPAPER ?
css
@import url("https://fonts.googleapis.com/css?family=Roboto+Slab:200"); * { margin: 0; padding: 0; box-sizing: border-box; border: 0; transform-style: preserve-3d; font-family: "Roboto Slab", sans-serif; } *:focus { outline: 0; } body { background: #816bbf; } .container, input, .button, .group, .button:after, .download { height: 60px; } .container, .group { width: 360px; } .container { margin: calc(50vh - 30px) 0 0 calc(50vw - 180px); perspective: 500px; } .group, .button:after { position: absolute; top: 0; left: 0; } input, .button { display: inline-block; vertical-align: top; } input { width: 300px; background: white; padding: 20px; font-size: 18px; color: #212121; } input::placeholder { color: silver; } .button, .button:after { width: 60px; } .button, .download { cursor: pointer; background: #E0E0E0; transition: background 0.5s; } .button.valid, .download { background-image: linear-gradient(135deg, #4bf3dd 10%, #4c83ff 100%); } .button:not(.valid):hover { background: #FF5252; } .button:after { content: ""; background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 24 24'%3e%3cpath fill='white' d='M7.41 8.59L12 13.17l4.59-4.58L18 10l-6 6-6-6 1.41-1.41z'/%3e%3c/svg%3e"); background-position: 50% 50%; background-repeat: no-repeat; } .button.valid:after { animation: a infinite 1s; } .group:nth-last-of-type(2) .button:after { background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 24 24'%3e%3cpath fill='white' d='M9 16.2L4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4L9 16.2z'/%3e%3c/svg%3e"); } .button:not(.valid):hover:after { background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3e%3cpath fill='white' d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z'/%3e%3c/svg%3e"); } .download { color: white; padding: 19px; text-align: center; } .satu { transform: rotateX(90deg) translateY(-30px) translateZ(30px); opacity: 0; transition: transform 1s, box-shadow 0.5s, opacity 0.7s 0.3s; } .dua { transform: none; box-shadow: 0 30px 40px rgba(0, 0, 0, 0.15); transition: transform 1s, box-shadow 0.5s 0.5s, opacity 0.7s; } .tiga { transform: rotateX(-90deg) translateY(30px) translateZ(30px); opacity: 0; } .container .progress { color: white; position: absolute; bottom: 80px; right: 1px; text-align: right; } @keyframes a { 0%, 100% { background-position: 50% 40%; } 50% { background-position: 50% 60%; } }
JavaScript
var g = document.getElementsByClassName("group"), c = 0, i, v = false; for (i = 0; i < g.length - 1; i++) { g[i].querySelector("input").onkeyup = function() { if (this.validity.valid == true) { v = true; this.nextSibling.classList.add("valid"); } else { v = false; this.nextSibling.classList.remove("valid"); } }; g[i].querySelector(".button").onclick = function() { if (v == true) { c++; this.parentNode.className = "group satu"; this.parentNode.nextSibling.className = "group dua"; document.querySelector(".progress").innerHTML = c + "/" + (g.length - 1) + " COMPLETED." + (c == g.length - 1 ? " THANK YOU FOR FILLING UP THE FORM." : ""); v = false; } }; }
粒子
时间
文字
hover
canvas
3d
游戏
音乐
火焰
水波
轮播图
鼠标跟随
动画
css
加载动画
导航
菜单
按钮
滑块
tab
弹出层
统计图
svg
×
Close
在线代码下载提示
开通在线代码永久免费下载,需支付20jQ币
开通后,在线代码模块中所有代码可终身免费下!
您已开通在线代码永久免费下载,关闭提示框后,点下载代码可直接下载!
您已经开通过在线代码永久免费下载
对不起,您的jQ币不足!可通过发布资源 或
直接充值获取jQ币
取消
开通下载
<!doctype html> <html> <head> <meta charset="utf-8"> <title>旋转立体形式 - CSS3动画,即时浏览器验证-jq22.com</title> <script src="https://www.jq22.com/jquery/jquery-1.10.2.js"></script> <style>
</style> </head> <body>
<script>
</script>
</body> </html>
2012-2021 jQuery插件库版权所有
jquery插件
|
jq22工具库
|
网页技术
|
广告合作
|
在线反馈
|
版权声明
沪ICP备13043785号-1
浙公网安备 33041102000314号