Toggle navigation
在线编辑器
在线代码
文本比较
jQuery下载
前端库
在线手册
登录/注册
下载代码
html
css
js
分享到微信朋友圈
X
html
Normal
Not focusable
Disabled
css
@import url("https://fonts.googleapis.com/css?family=Source+Sans+Pro:600&display=swap"); @-webkit-keyframes active { from { box-shadow: 0 4px 3px 1px #FCFCFC, 0 6px 8px #D6D7D9, 0 -4px 4px #CECFD1, 0 -6px 4px #FEFEFE, inset 0 0 10px 0px rgba(0, 0, 250, 0.6); } to { box-shadow: 0 4px 3px 1px #FCFCFC, 0 6px 8px #D6D7D9, 0 -4px 4px #CECFD1, 0 -6px 4px #FEFEFE, inset 0 0 3px 3px #CECFD1; } } @keyframes active { from { box-shadow: 0 4px 3px 1px #FCFCFC, 0 6px 8px #D6D7D9, 0 -4px 4px #CECFD1, 0 -6px 4px #FEFEFE, inset 0 0 10px 0px rgba(0, 0, 250, 0.6); } to { box-shadow: 0 4px 3px 1px #FCFCFC, 0 6px 8px #D6D7D9, 0 -4px 4px #CECFD1, 0 -6px 4px #FEFEFE, inset 0 0 3px 3px #CECFD1; } } *, *:before, *:after { box-sizing: border-box; } body { margin: 0; padding: 30px; background: #f8f8f8; min-height: 100vh; display: flex; align-items: center; justify-content: center; } .grid { max-width: 400px; margin: 0 auto; display: grid; grid-template-columns: 150px 150px 50px; align-items: center; justify-content: center; grid-gap: 40px 25px; } button, [role="button"] { -webkit-appearance: none; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; display: flex; align-items: center; justify-content: center; outline: none; cursor: pointer; width: 150px; height: 50px; background-image: linear-gradient(to top, #D8D9DB 0%, #fff 80%, #FDFDFD 100%); border-radius: 30px; border: 1px solid #8F9092; box-shadow: 0 4px 3px 1px #FCFCFC, 0 6px 8px #D6D7D9, 0 -4px 4px #CECFD1, 0 -6px 4px #FEFEFE, inset 0 0 3px 0 #CECFD1; transition: all 0.2s ease; font-family: "Source Sans Pro", sans-serif; font-size: 14px; font-weight: 600; color: #606060; text-shadow: 0 1px #fff; } button::-moz-focus-inner, [role="button"]::-moz-focus-inner { border: 0; } button > *, [role="button"] > * { transition: -webkit-transform 0.2s ease; transition: transform 0.2s ease; transition: transform 0.2s ease, -webkit-transform 0.2s ease; } button:hover:not([disabled]), [role="button"]:hover:not([disabled]) { box-shadow: 0 4px 3px 1px #FCFCFC, 0 6px 8px #D6D7D9, 0 -4px 4px #CECFD1, 0 -6px 4px #FEFEFE, inset 0 0 3px 3px #CECFD1; } button:hover:not([disabled]) > *, [role="button"]:hover:not([disabled]) > * { -webkit-transform: scale(0.975); transform: scale(0.975); } button:focus:not(:active), [role="button"]:focus:not(:active) { -webkit-animation: active 0.9s alternate infinite; animation: active 0.9s alternate infinite; outline: none; } button:active:not([disabled]), [role="button"]:active:not([disabled]) { box-shadow: 0 4px 3px 1px #FCFCFC, 0 6px 8px #D6D7D9, 0 -4px 4px #CECFD1, 0 -6px 4px #FEFEFE, inset 0 0 5px 3px #999, inset 0 0 30px #aaa; } button:active:not([disabled]) > *, [role="button"]:active:not([disabled]) > * { -webkit-transform: scale(0.95); transform: scale(0.95); } button:disabled, [role="button"]:disabled { opacity: 0.6; cursor: not-allowed; } button.icon, [role="button"].icon { width: 50px; } button.icon svg, [role="button"].icon svg { margin-top: 3px; width: 30px; height: 30px; }
JavaScript
粒子
时间
文字
hover
canvas
3d
游戏
音乐
火焰
水波
轮播图
鼠标跟随
动画
css
加载动画
导航
菜单
按钮
滑块
tab
弹出层
统计图
svg
×
Close
在线代码下载提示
开通在线代码永久免费下载,需支付20jQ币
开通后,在线代码模块中所有代码可终身免费下!
您已开通在线代码永久免费下载,关闭提示框后,点下载代码可直接下载!
您已经开通过在线代码永久免费下载
对不起,您的jQ币不足!可通过发布资源 或
直接充值获取jQ币
取消
开通下载
<!doctype html> <html> <head> <meta charset="utf-8"> <title>css拟形按钮(逼真的3D效果)-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号