Toggle navigation
在线编辑器
在线代码
文本比较
jQuery下载
前端库
在线手册
登录/注册
下载代码
html
css
js
分享到微信朋友圈
X
html
Pill
Shine
Slide Line
Line Center
css
body { height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center;background-color:#d0e6e7; } .container { width: 80%; height: 450px; display: flex; align-items: center; justify-content: space-between; } button { position: relative; margin: 0; padding: 5px 12px; height: 60px; width: 150px; outline: none; text-decoration: none; display: flex; justify-content: center; align-items: center; cursor: pointer; text-transform: uppercase; background-color: #ffffff; border: 1px solid rgba(22, 76, 167, 0.6); border-radius: 10px; color: #1d89ff; font-weight: 400; font-size: 20px; font-family: inherit; z-index: 0; overflow: hidden; transition: all 0.3s cubic-bezier(0.02, 0.01, 0.47, 1); } button span { color: #164ca7; font-size: 12px; font-weight: 500; letter-spacing: 0.7px; } button:hover { animation: rotate 0.7s ease-in-out both; } button:hover span { animation: storm 0.7s ease-in-out both; animation-delay: 0.06s; } @keyframes rotate { 0% { transform: rotate(0deg) translate3d(0, 0, 0); } 25% { transform: rotate(3deg) translate3d(0, 0, 0); } 50% { transform: rotate(-3deg) translate3d(0, 0, 0); } 75% { transform: rotate(1deg) translate3d(0, 0, 0); } 100% { transform: rotate(0deg) translate3d(0, 0, 0); } } @keyframes storm { 0% { transform: translate3d(0, 0, 0) translateZ(0); } 25% { transform: translate3d(4px, 0, 0) translateZ(0); } 50% { transform: translate3d(-3px, 0, 0) translateZ(0); } 75% { transform: translate3d(2px, 0, 0) translateZ(0); } 100% { transform: translate3d(0, 0, 0) translateZ(0); } } .btn-pill:before, .btn-pill:after { position: absolute; right: 0; bottom: 0; width: 100px; height: 100px; border-radius: 50%; background: #1d89ff; content: ""; opacity: 0; transition: transform 0.15s cubic-bezier(0.02, 0.01, 0.47, 1), opacity 0.15s cubic-bezier(0.02, 0.01, 0.47, 1); z-index: -1; transform: translate(100%, -25%) translate3d(0, 0, 0); } .btn-pill:hover:before, .btn-pill:hover:after { opacity: 0.15; transition: transform 0.2s cubic-bezier(0.02, 0.01, 0.47, 1), opacity 0.2s cubic-bezier(0.02, 0.01, 0.47, 1); } .btn-pill:hover:before { transform: translate3d(50%, 0, 0) scale(0.9); } .btn-pill:hover:after { transform: translate(50%, 0) scale(1.1); } .btn-shine { border: 1px solid; overflow: hidden; position: relative; } .btn-shine span { z-index: 20; } .btn-shine:after { background: #38ef7d; content: ""; height: 155px; left: -75px; opacity: 0.4; position: absolute; top: -50px; transform: rotate(35deg); transition: all 550ms cubic-bezier(0.19, 1, 0.22, 1); width: 50px; z-index: -10; } .btn-shine:hover:after { left: 120%; transition: all 550ms cubic-bezier(0.19, 1, 0.22, 1); } .btn-slide-line.center:after { left: 50%; } .btn-slide-line:after { position: absolute; right: 0; left: auto; transition: 0.3s; content: ""; width: 0; bottom: 0; height: 3px; background: #164ca7; } .btn-slide-line:hover { cursor: pointer; } .btn-slide-line:hover:after { width: 100%; left: 0; } .inspire a { text-decoration: none; }
JavaScript
粒子
时间
文字
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号