Toggle navigation
在线编辑器
在线代码
文本比较
jQuery下载
前端库
在线手册
登录/注册
下载代码
html
css
js
分享到微信朋友圈
X
html
CSS
Button Animations
Let's Go!
Let's Go!
Let's Go!
Let's Go!
Let's Go!
Let's Go!
Let's Go!
css
@import url('https://fonts.googleapis.com/css?family=Raleway:300,400'); body { background: #2D3142; font-family: 'Raleway', sans-serif; } /* Heading */ h1 { font-size: 1.5em; text-align: center; padding: 70px 0 0 0; color: #EF8354; font-weight: 300; letter-spacing: 1px; } span { border: 2px solid #4F5D75; padding: 10px; } /* Layout Styling */ #container { width: 100%; margin: 0 auto; padding: 50px 0 150px 0; display: flex; flex-direction: row; flex-wrap: wrap; justify-content: center; } /* Button Styles */ .button { display: inline-flex; height: 40px; width: 150px; border: 2px solid #BFC0C0; margin: 20px 20px 20px 20px; color: #BFC0C0; text-transform: uppercase; text-decoration: none; font-size: .8em; letter-spacing: 1.5px; align-items: center; justify-content: center; overflow: hidden; } a { color: #BFC0C0; text-decoration: none; letter-spacing: 1px; } /* First Button */ #arrow-hover { width: 15px; height: 10px; position: absolute; transform: translateX(60px); opacity: 0; -webkit-transition: all .25s cubic-bezier(.14, .59, 1, 1.01); transition: all .15s cubic-bezier(.14, .59, 1, 1.01); margin: 0; padding: 0 5px; } a#button-1:hover img { width: 15px; opacity: 1; transform: translateX(50px); } /* Second Button */ #button-2 { position: relative; overflow: hidden; cursor: pointer; } #button-2 a { position: relative; transition: all .35s ease-Out; } #slide { width: 100%; height: 100%; left: -200px; background: #BFC0C0; position: absolute; transition: all .35s ease-Out; bottom: 0; } #button-2:hover #slide { left: 0; } #button-2:hover a { color: #2D3142; } /* Third Button */ #button-3 { position: relative; overflow: hidden; cursor: pointer; } #button-3 a { position: relative; transition: all .45s ease-Out; } #circle { width: 0%; height: 0%; opacity: 0; line-height: 40px; border-radius: 50%; background: #BFC0C0; position: absolute; transition: all .5s ease-Out; top: 20px; left: 70px; } #button-3:hover #circle { width: 200%; height: 500%; opacity: 1; top: -70px; left: -70px; } #button-3:hover a { color: #2D3142; } /* Fourth Button */ #button-4 { position: relative; overflow: hidden; cursor: pointer; } #button-4 a { position: relative; transition: all .45s ease-Out; } #underline { width: 100%; height: 2.5px; margin-top: 15px; align-self: flex-end; left: -200px; background: #BFC0C0; position: absolute; transition: all .3s ease-Out; bottom: 0; } #button-4:hover #underline { left: 0; } /* Fifth Button */ #button-5 { position: relative; overflow: hidden; cursor: pointer; } #button-5 a { position: relative; transition: all .45s ease-Out; } #translate { transform: rotate(50deg); width: 100%; height: 250%; left: -200px; top: -30px; background: #BFC0C0; position: absolute; transition: all .3s ease-Out; } #button-5:hover #translate { left: 0; } #button-5:hover a { color: #2D3142; } /* Sixth Button */ #button-6 { position: relative; overflow: hidden; cursor: pointer; } #button-6 a { position: relative; transition: all .45s ease-Out; } #spin { width: 0; height: 0; opacity: 0; left: 70px; top: 20px; transform: rotate(0deg); background: none; position: absolute; transition: all .5s ease-Out; } #button-6:hover #spin { width: 200%; height: 500%; opacity: 1; left: -70px; top: -70px; background: #BFC0C0; transform: rotate(80deg); } #button-6:hover a { color: #2D3142; } /* Seventh Button */ #button-7 { position: relative; overflow: hidden; cursor: pointer; } #button-7 a { position: relative; left: 0; transition: all .35s ease-Out; } #dub-arrow { width: 100%; height: 100%; background: #BFC0C0; left: -200px; position: absolute; padding: 0; display: flex; align-items: center; justify-content: center; transition: all .35s ease-Out; bottom: 0; } #button-7 img { width: 20px; height: auto; } #button-7:hover #dub-arrow { left: 0; } #button-7:hover a { left: 150px; } @media screen and (min-width:1000px) { h1 { font-size: 2.2em; } #container { width: 50%; } }
JavaScript
粒子
时间
文字
hover
canvas
3d
游戏
音乐
火焰
水波
轮播图
鼠标跟随
动画
css
加载动画
导航
菜单
按钮
滑块
tab
弹出层
统计图
svg
×
Close
在线代码下载提示
开通在线代码永久免费下载,需支付20jQ币
开通后,在线代码模块中所有代码可终身免费下!
您已开通在线代码永久免费下载,关闭提示框后,点下载代码可直接下载!
您已经开通过在线代码永久免费下载
对不起,您的jQ币不足!可通过发布资源 或
直接充值获取jQ币
取消
开通下载
<!doctype html> <html> <head> <meta charset="utf-8"> <title>CSS按钮动画-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号