Toggle navigation
在线编辑器
在线代码
文本比较
jQuery下载
前端库
在线手册
登录/注册
下载代码
html
css
js
分享到微信朋友圈
X
html
ACCOUNT SETTINGS
Profile Information
Change Password
css
* { margin: 0px auto; padding: 0px; text-align: center; font-family: 'Open Sans', sans-serif; } .cont_principal { position: absolute; width: 100%; height: 100%; background: rgb(255, 255, 255); background: -moz-linear-gradient(top, rgba(255, 255, 255, 1) 0%, rgba(224, 232, 245, 1) 100%); background: -webkit-linear-gradient(top, rgba(255, 255, 255, 1) 0%, rgba(224, 232, 245, 1) 100%); background: linear-gradient(to bottom, rgba(255, 255, 255, 1) 0%, rgba(224, 232, 245, 1) 100%); filter: progid: DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#e0e8f5', GradientType=0); } .cont_menu { position: absolute; width: 320px; left: 50%; margin-left: -160px; margin-top: 20%; } .cont_titulo_menu { position: relative; float: left; width: 100%; height: 60px; overflow: hidden; background-color: #4F7DF5; box-shadow: 0px 7px 30px -12px rgba(0, 0, 0, 0.5); margin-top: 20px; border-radius: 3px; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; } .cont_icon_menu { position: relative; float: right; margin-right: 20px; top: 14px; } .cont_icon_menu > img { width: 32px; z-index: 2; position: relative; } .cont_titulo { position: relative; float: left; margin-top: 20px; margin-left: 20px; color: #fff; } .cont_circle_1 { position: absolute; top: -16px; left: -16px; width: 64px; height: 64px; background-color: #fff; opacity: 0.3; z-index: 0; border-radius: 50%; animation: animation_circle_1 3s infinite; animation-direction: alternate; transform: scale(0); } .cont_circle_2 { position: absolute; top: -46px; left: -46px; width: 128px; height: 128px; background-color: #fff; opacity: 0.2; z-index: 0; border-radius: 50%; animation: animation_circle_1 3s infinite; animation-direction: alternate; animation-delay: 0.5s; transform: scale(0); } .cont_circle_3 { position: absolute; top: -80px; left: -80px; width: 192px; height: 192px; background-color: #fff; opacity: 0.1; z-index: 0; border-radius: 50%; animation: animation_circle_1 3s infinite; animation-direction: alternate; animation-delay: 1s; transform: scale(0); } .cont_circle_4 { position: absolute; top: -115px; left: -116px; width: 256px; height: 256px; background-color: #fff; opacity: 0.1; z-index: 0; border-radius: 50%; animation: animation_circle_1 3s infinite; animation-direction: alternate; animation-delay: 1.5s; transform: scale(0); } @-webkit-keyframes animation_circle_1 { from { transform: scale(0); } to { transform: scale(1); } } @-o-keyframes animation_circle_1 { from { transform: scale(0); } to { transform: scale(1); } } @-moz-keyframes animation_circle_1 { from { transform: scale(0); } to { transform: scale(1); } } @keyframes animation_circle_1 { from { transform: scale(0); } to { transform: scale(1); } } .cont_drobpdown_menu { position: relative; float: left; width: 100%; background-color: #fff; box-shadow: 0px 2px 20px -2px rgba(0, 0, 0, 0.3); margin-top: 10px; border-radius: 3px; opacity: 1; transition: all 0.5s; } .cont_drobpdown_menu ul > li { list-style: none; margin-left: -3px; margin-top: 20px; margin-bottom: 20px; border-left: 5px solid #eee; width: 100%; display: block; transition: all 0.5s; } .cont_drobpdown_menu ul > li:hover { border-left: 5px solid #6992FE; } .cont_drobpdown_menu ul > li:hover >a { color: #6992FE; } .cont_drobpdown_menu ul > li:nth-child(2) { border: none; } .cont_drobpdown_menu ul > li > a { position: relative; display: block; width: 90%; padding-top: 10px; padding-bottom: 10px; text-decoration: none; color: #C4D0DE; transition: all 0.5s; } .cont_drobpdown_menu ul > li > hr { width: 75%; height: 0px; color: #123455; background-color: #123455; border: 1px solid #eee; } .cont_icon_trg { position: relative; float: left; margin-bottom: -30px; z-index: 1; left: 10px; transform: translate(0px, 10px); transition: all 0.5s; } .disable { transition: all 0.5s; opacity: 0; transform: translate(0px, 10px); } .disable > ul > li { transform: translate(0px, 10px); opacity: 0; } .active { opacity: 1; transform: translate(0px, 0px); } .active > ul > li { transition-delay: 0.5s; transform: translate(0px, 0px); opacity: 1; }
JavaScript
var c = 0; function menu() { if (c % 2 == 0) { document.querySelector('.cont_drobpdown_menu').className = "cont_drobpdown_menu active"; document.querySelector('.cont_icon_trg').className = "cont_icon_trg active"; c++; console.log('1'); } else { document.querySelector('.cont_drobpdown_menu').className = "cont_drobpdown_menu disable"; document.querySelector('.cont_icon_trg').className = "cont_icon_trg disable"; c++; } }
粒子
时间
文字
hover
canvas
3d
游戏
音乐
火焰
水波
轮播图
鼠标跟随
动画
css
加载动画
导航
菜单
按钮
滑块
tab
弹出层
统计图
svg
×
Close
在线代码下载提示
开通在线代码永久免费下载,需支付20jQ币
开通后,在线代码模块中所有代码可终身免费下!
您已开通在线代码永久免费下载,关闭提示框后,点下载代码可直接下载!
您已经开通过在线代码永久免费下载
对不起,您的jQ币不足!可通过发布资源 或
直接充值获取jQ币
取消
开通下载
<!doctype html> <html> <head> <meta charset="utf-8"> <title>下拉菜单动画-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号